diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2013-06-07 18:25:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-01 12:59:38 (GMT) |
commit | 874e17120db832656a77665e2ac13168aaf1e207 (patch) | |
tree | e1dbb5090e053484aae8b84ed47c8dac4b59abcc /Source/cmNinjaTargetGenerator.cxx | |
parent | 88d27ad0140ac2274e886c10ac2bf9f8eede54c7 (diff) | |
download | CMake-874e17120db832656a77665e2ac13168aaf1e207.zip CMake-874e17120db832656a77665e2ac13168aaf1e207.tar.gz CMake-874e17120db832656a77665e2ac13168aaf1e207.tar.bz2 |
Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non static
To properly track the usage of dependencies that are generated at
compile time as the side effect of other build steps we need
to make the WriteBuild and WritePhonyBuild commands non static
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 43b7baa..56c1de8 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -642,24 +642,24 @@ cmNinjaTargetGenerator sourceFileName); } - cmGlobalNinjaGenerator::WriteBuild(this->GetBuildFileStream(), - comment, - rule, - outputs, - explicitDeps, - implicitDeps, - orderOnlyDeps, - vars); + this->GetGlobalGenerator()->WriteBuild(this->GetBuildFileStream(), + comment, + rule, + outputs, + explicitDeps, + implicitDeps, + orderOnlyDeps, + vars); if(const char* objectOutputs = source->GetProperty("OBJECT_OUTPUTS")) { std::vector<std::string> outputList; cmSystemTools::ExpandListArgument(objectOutputs, outputList); std::transform(outputList.begin(), outputList.end(), outputList.begin(), MapToNinjaPath()); - cmGlobalNinjaGenerator::WritePhonyBuild(this->GetBuildFileStream(), - "Additional output files.", - outputList, - outputs); + this->GetGlobalGenerator()->WritePhonyBuild(this->GetBuildFileStream(), + "Additional output files.", + outputList, + outputs); } } |