Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.2
-
None
-
GNU/Linux Ubuntu 12.04 x86
Description
If you have this into your .pro
CONFIG += debug_and_release
myTarget.target = target42
myTarget.commands = echo 42
myTarget.depends = $(if $(findstring Debug, $(MAKEFILE_LIST)),DO_NOT_STRIP,) all
QMAKE_EXTRA_TARGETS += myTarget
You will get this in your MakeFile
target42: $(if $(findstring Debug, $(MAKEFILE_LIST)),DO_NOT_STRIP,) all
echo 42
THIS IS OK.
BUT in MakeFile.Release and in MakeFile.Debug we have:
target42: $(if\ $(findstring\ Debug,\ $(MAKEFILE_LIST)),DO_NOT_STRIP,) all
echo 42
We can see \ everywhere before spaces. Why !? This bug break the MakeFile the rule target42.