qt5base-lts/qmake/generators/win32
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
..
cesdkhandler.cpp Fixing Wec2013 qmake support for VS2013 SDKs. 2015-07-21 07:53:35 +00:00
cesdkhandler.h Fix incorrect pass by value. 2015-04-21 11:37:54 +00:00
mingw_make.cpp merge MingwMakefileGenerator::findLibraries() into Win32MakefileGenerator 2015-10-02 14:01:24 +00:00
mingw_make.h merge MingwMakefileGenerator::findLibraries() into Win32MakefileGenerator 2015-10-02 14:01:24 +00:00
msbuild_objectmodel.cpp Correctly flag WinPhone 2016-01-01 12:46:11 +00:00
msbuild_objectmodel.h Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
msvc_nmake.cpp Remove Wow6432Node versions of Visual Studio registry keys 2015-12-08 06:37:57 +00:00
msvc_nmake.h inline NmakeMakefileGenerator::getPdbTarget() 2015-10-01 16:19:23 +00:00
msvc_objectmodel.cpp rewrite qtAddToolEnv() 2016-01-08 09:36:13 +00:00
msvc_objectmodel.h WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
msvc_vcproj.cpp winphone: Invoke windeployqt twice unconditionally for vcproj 2016-01-05 13:05:00 +00:00
msvc_vcproj.h MakefileGenerator::processSources() doesn't need to be virtual. 2015-11-13 15:10:32 +00:00
msvc_vcxproj.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
msvc_vcxproj.h Update copyright headers 2015-02-11 06:49:51 +00:00
winmakefile.cpp Stop generating implicit suffix rules in Makefiles 2015-10-09 15:15:25 +00:00
winmakefile.h merge MingwMakefileGenerator::findLibraries() into Win32MakefileGenerator 2015-10-02 14:01:24 +00:00