diff options
author | Brad King <brad.king@kitware.com> | 2019-09-18 15:51:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-18 15:52:14 (GMT) |
commit | 1423507a71199fd76b457ad9b215a6caca70ee58 (patch) | |
tree | 15bfb34dfcec17ba96f8a85ef71efe9010f9a8ec /Source/cmMakefile.cxx | |
parent | 01cce69870ec7efbb8138f5345aa7ffed8b7ac12 (diff) | |
parent | 9c45b95ddde04d8429f08fd692d53f843a02d12b (diff) | |
download | CMake-1423507a71199fd76b457ad9b215a6caca70ee58.zip CMake-1423507a71199fd76b457ad9b215a6caca70ee58.tar.gz CMake-1423507a71199fd76b457ad9b215a6caca70ee58.tar.bz2 |
Merge topic 'command-line-make-functions'
9c45b95ddd cmMakefile: Remove unused AddUtilityCommand overload
7f3ecbe7d7 cmCustomCommandLine: Provide command line make functions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3819
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index f35b999..c593939 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1175,35 +1175,6 @@ bool cmMakefile::AppendCustomCommandToOutput( cmTarget* cmMakefile::AddUtilityCommand( const std::string& utilityName, TargetOrigin origin, bool excludeFromAll, - const std::vector<std::string>& depends, const char* workingDirectory, - const char* command, const char* arg1, const char* arg2, const char* arg3, - const char* arg4) -{ - // Construct the command line for the custom command. - cmCustomCommandLine commandLine; - commandLine.push_back(command); - if (arg1) { - commandLine.push_back(arg1); - } - if (arg2) { - commandLine.push_back(arg2); - } - if (arg3) { - commandLine.push_back(arg3); - } - if (arg4) { - commandLine.push_back(arg4); - } - cmCustomCommandLines commandLines; - commandLines.push_back(std::move(commandLine)); - - // Call the real signature of this method. - return this->AddUtilityCommand(utilityName, origin, excludeFromAll, - workingDirectory, depends, commandLines); -} - -cmTarget* cmMakefile::AddUtilityCommand( - const std::string& utilityName, TargetOrigin origin, bool excludeFromAll, const char* workingDirectory, const std::vector<std::string>& depends, const cmCustomCommandLines& commandLines, bool escapeOldStyle, const char* comment, bool uses_terminal, bool command_expand_lists, |