summaryrefslogtreecommitdiff
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 13:44:53 +0200
committerStephen Kelly <steveire@gmail.com>2016-08-27 13:44:53 +0200
commitc341f4679ad00cb65c7660b474ddabd13d0ef498 (patch)
treed7437a119a663c303fd039637589e6d03d8b554a /Source/cmLocalUnixMakefileGenerator3.h
parent6960516b6b053816313d2ff5ee4e9375a84829cb (diff)
downloadcmake-c341f4679ad00cb65c7660b474ddabd13d0ef498.tar.gz
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/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index ed167b395a..243cc3d658 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -228,15 +228,16 @@ protected:
const std::vector<cmCustomCommand>& ccs);
void AppendCustomDepend(std::vector<std::string>& depends,
cmCustomCommandGenerator const& cc);
- void AppendCustomCommands(
- std::vector<std::string>& commands,
- const std::vector<cmCustomCommand>& ccs, cmGeneratorTarget* target,
- cmOutputConverter::RelativeRoot relative = cmOutputConverter::HOME_OUTPUT);
- void AppendCustomCommand(
- std::vector<std::string>& commands, cmCustomCommandGenerator const& ccg,
- cmGeneratorTarget* target,
- cmOutputConverter::RelativeRoot relative = cmOutputConverter::HOME_OUTPUT,
- bool echo_comment = false, std::ostream* content = CM_NULLPTR);
+ void AppendCustomCommands(std::vector<std::string>& commands,
+ const std::vector<cmCustomCommand>& ccs,
+ cmGeneratorTarget* target,
+ std::string const& relative);
+ void AppendCustomCommand(std::vector<std::string>& commands,
+ cmCustomCommandGenerator const& ccg,
+ cmGeneratorTarget* target,
+ std::string const& relative,
+ bool echo_comment = false,
+ std::ostream* content = CM_NULLPTR);
void AppendCleanCommand(std::vector<std::string>& commands,
const std::vector<std::string>& files,
cmGeneratorTarget* target,