qt5base-lts/qmake/generators
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
..
mac qmake: Harden logic for handling the -o option 2018-07-31 10:13:31 +00:00
unix Merge remote-tracking branch 'origin/5.11' into dev 2018-07-17 10:19:22 +02:00
win32 qmake: Harden logic for handling the -o option 2018-07-31 10:13:31 +00:00
makefile.cpp qmake: Harden logic for handling the -o option 2018-07-31 10:13:31 +00:00
makefile.h qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00
makefiledeps.cpp Qmake: Fix compilation with QMAKE_USE_CACHE 2018-06-13 11:20:12 +00:00
makefiledeps.h qmake: replace a uint:1 with a bool 2016-08-15 22:16:09 +00:00
metamakefile.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-29 17:55:20 +02:00
metamakefile.h Updated license headers 2016-01-21 18:55:18 +00:00
projectgenerator.cpp qmake: Harden logic for handling the -o option 2018-07-31 10:13:31 +00:00
projectgenerator.h qmake: escape colons and hashmarks in dependency paths 2018-06-25 13:35:20 +00:00
xmloutput.cpp Merge remote-tracking branch 'origin/5.6' into dev 2016-02-11 08:25:04 +01:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00