diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:53 (GMT) |
commit | c341f4679ad00cb65c7660b474ddabd13d0ef498 (patch) | |
tree | d7437a119a663c303fd039637589e6d03d8b554a /Source/cmMakefileTargetGenerator.cxx | |
parent | 6960516b6b053816313d2ff5ee4e9375a84829cb (diff) | |
download | CMake-c341f4679ad00cb65c7660b474ddabd13d0ef498.zip CMake-c341f4679ad00cb65c7660b474ddabd13d0ef498.tar.gz CMake-c341f4679ad00cb65c7660b474ddabd13d0ef498.tar.bz2 |
Makefiles: Change AppendCustomCommand API to strings
Avoid the RelativeRoot enum. Supply the HOME_OUTPUT string at each
callsite to make the parameter non-defaulted.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 0c637a9..5bba29c 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1094,8 +1094,8 @@ void cmMakefileTargetGenerator::GenerateCustomRuleFile( // Now append the actual user-specified commands. std::ostringstream content; this->LocalGenerator->AppendCustomCommand( - commands, ccg, this->GeneratorTarget, cmOutputConverter::HOME_OUTPUT, - false, &content); + commands, ccg, this->GeneratorTarget, + this->LocalGenerator->GetBinaryDirectory(), false, &content); // Collect the dependencies. std::vector<std::string> depends; |