diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-03 11:00:20 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-03 10:07:23 +0000 |
commit | a0c58682ad4a9e630d15bcb5211336cfd2376442 (patch) | |
tree | c5df3f916f03c6c8b98762820f314aa229024bfe /src/core/gn_run.pro | |
parent | f46633806d095363fb6b75d6ce93f5f66482a72c (diff) |
Use .NOTPARALLEL on Windows too
With Jom 1.1 supporting the special target we can use it to also avoid
compiling and linking debug and release in parallel on Windows too.
Change-Id: Ie3307f1f40fd877d04f9fea53c02fe7a37c48824
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/core/gn_run.pro')
-rw-r--r-- | src/core/gn_run.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/gn_run.pro b/src/core/gn_run.pro index e1af9e320..7d14df688 100644 --- a/src/core/gn_run.pro +++ b/src/core/gn_run.pro @@ -52,7 +52,9 @@ build_pass|!debug_and_release { else: default_target.target = first default_target.depends = runninja QMAKE_EXTRA_TARGETS += default_target -} else { +} + +!build_pass:debug_and_release { # Special GNU make target for the meta Makefile that ensures that our debug and release Makefiles won't both run ninja in parallel. notParallel.target = .NOTPARALLEL QMAKE_EXTRA_TARGETS += notParallel |