qt6-bb10/qmake/generators/win32
Tor Arne Vestbø 8cea3ec8ce qmake: Harden logic for handling the -o option
We now treat -o foo/bar/baz as a request to generate the output in the
foo/bar directory with baz as the output name, or if foo/bar/baz is already
a directory, in the foo/bar/baz directory with the default output name.

We take care to handle generator specific directory structures, so
that the project directory does not get merged into OUT_PWD. This is
done in runQmake(), before parsing the project file, so that OUT_PWD
will be correct during project parsing. The individual generators are
then passed the filename relative to the final output directory.

Each generator now also makes sure to add the right project suffix
to the output file, so -o foo will result in foo.pro or foo.vcproj,
instead of just foo.

Task-number: QTBUG-44408
Change-Id: I26990cec0c0458bee2b88dbb86322617a85f54b5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-07-31 10:13:31 +00:00
..
mingw_make.cpp qmake: get rid of (some) makefile expansions in dependency paths 2018-07-16 15:44:44 +00:00
mingw_make.h qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00
msbuild_objectmodel.cpp Set WindowsTargetPlatform[Min]Version if WindowsSDKVersion is set 2018-04-06 06:18:00 +00:00
msbuild_objectmodel.h Merge remote-tracking branch 'origin/5.8' into dev 2017-01-25 20:06:06 +01:00
msvc_nmake.cpp qmake: get rid of (some) makefile expansions in dependency paths 2018-07-16 15:44:44 +00:00
msvc_nmake.h qmake: Introduce precompile_header_c for MSVC 2018-01-08 15:02:21 +00:00
msvc_objectmodel.cpp Merge remote-tracking branch 'origin/5.9' into dev 2017-06-19 16:12:34 +02:00
msvc_objectmodel.h Remove support for WinRT 8.1 and Windows Phone 8.1 2017-01-18 12:38:56 +00:00
msvc_vcproj.cpp qmake: Harden logic for handling the -o option 2018-07-31 10:13:31 +00:00
msvc_vcproj.h Fix unnecessary regeneration of mocables in VS projects 2016-12-21 16:35:22 +00:00
msvc_vcxproj.cpp Updated license headers 2016-01-21 18:55:18 +00:00
msvc_vcxproj.h Updated license headers 2016-01-21 18:55:18 +00:00
registry.cpp doc: Remove inappropriate qdoc comment markers 2018-01-18 18:25:27 +00:00
registry_p.h move "shared" registry reading code into qmake 2016-12-23 13:45:50 +00:00
winmakefile.cpp qmake: get rid of (some) makefile expansions in dependency paths 2018-07-16 15:44:44 +00:00
winmakefile.h qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00