diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2016-05-13 23:18:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-17 13:34:11 (GMT) |
commit | 038e7716e58e4cf79bda6ba72b92814a14978a8f (patch) | |
tree | 05a417720ba732cc8beb2210f010835ffc6dd4e8 /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | 7c26a6a269b0c12ecdf7605183d9fa26ad2b91eb (diff) | |
download | CMake-038e7716e58e4cf79bda6ba72b92814a14978a8f.zip CMake-038e7716e58e4cf79bda6ba72b92814a14978a8f.tar.gz CMake-038e7716e58e4cf79bda6ba72b92814a14978a8f.tar.bz2 |
Ninja: Pass all build paths through a central method
This gives us a central location to revise paths.
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaUtilityTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx index b0b1147..d07341c 100644 --- a/Source/cmNinjaUtilityTargetGenerator.cxx +++ b/Source/cmNinjaUtilityTargetGenerator.cxx @@ -33,6 +33,8 @@ void cmNinjaUtilityTargetGenerator::Generate() { std::string utilCommandName = cmake::GetCMakeFilesDirectoryPostSlash(); utilCommandName += this->GetTargetName() + ".util"; + utilCommandName = + this->GetGlobalGenerator()->NinjaOutputPath(utilCommandName); std::vector<std::string> commands; cmNinjaDeps deps, outputs, util_outputs(1, utilCommandName); |