diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2013-11-23 09:49:36 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2013-11-25 21:23:24 (GMT) |
commit | 7605e37aabae2678e5696a75e84aced2e84f9037 (patch) | |
tree | dced8cd0e0baf12da23f2e2221abca2483fba313 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | da6b86f4f031b189768dc474721145a1b99f71ea (diff) | |
download | CMake-7605e37aabae2678e5696a75e84aced2e84f9037.zip CMake-7605e37aabae2678e5696a75e84aced2e84f9037.tar.gz CMake-7605e37aabae2678e5696a75e84aced2e84f9037.tar.bz2 |
Ninja: job pool support for compiling and linking
Could be tested by setting the environment
variable NINJA_STATUS=[%r]
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 2c96ede..73ba815 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -464,6 +464,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() linkPath, this->GetGeneratorTarget()); + this->addPoolNinjaVariable("JOB_POOL_LINK", this->GetTarget(), vars); + this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]); vars["LINK_FLAGS"] = cmGlobalNinjaGenerator ::EncodeLiteral(vars["LINK_FLAGS"]); |