qt5base-lts/qmake/generators
Oswald Buddenhagen 282f15feaa rewrite qtAddToolEnv()
the primary purpose is making env var prepend mode work for unset
variables on windows. this is achieved by using a conditional and delayed
variable expansion. however, the latter is disabled by default and can
be locally enabled only in batch files. therefore, write wrapper scripts
and substitute them for the actual commands. we do this also on unix,
both for consistency and simply because the commands look much less
confusing.

this change is slightly backwards-incompatible, as invoking
qtAddToolEnv() multiple times on the same command will now make a total
mess. also, invoking it on a command that contains 'make' macro
expansions isn't a good idea, so testcase.prf needed an adjustment. the
function is an undocumented internal, so Nobody Should Care (TM).

this also reverts 80ebedecf9, as it's obsolete now.

Change-Id: I8394b77868b495abcf27b688996ca74c40b80994
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2016-01-08 09:36:13 +00:00
..
mac Xcode generator: only replace the suffix in the library path 2015-11-09 08:35:04 +00:00
unix support relative paths in QMAKE_RPATHDIR 2015-10-20 17:18:16 +00:00
win32 rewrite qtAddToolEnv() 2016-01-08 09:36:13 +00:00
makefile.cpp fix bogus complaints about prl targets without extension in bundles 2015-10-14 15:43:26 +00:00
makefile.h MakefileGenerator::processSources() doesn't need to be virtual. 2015-11-13 15:10:32 +00:00
makefiledeps.cpp qmake: Combine two variables into an array to simplify a loop. 2015-12-17 13:47:37 +00:00
makefiledeps.h Update copyright headers 2015-02-11 06:49:51 +00:00
metamakefile.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
metamakefile.h Update copyright headers 2015-02-11 06:49:51 +00:00
projectgenerator.cpp QtCore/qmake: drop some unneeded QChar -> QString conversions 2015-10-11 12:29:28 +00:00
projectgenerator.h Update copyright headers 2015-02-11 06:49:51 +00:00
xmloutput.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
xmloutput.h Update copyright headers 2015-02-11 06:49:51 +00:00