ENH: Add extra argument
This commit is contained in:
parent
73fe7c316a
commit
f7ddfbe1fd
|
@ -666,7 +666,8 @@ void cmMakefile::AddUtilityCommand(const char* utilityName, bool all,
|
|||
const char* command,
|
||||
const char* arg1,
|
||||
const char* arg2,
|
||||
const char* arg3)
|
||||
const char* arg3,
|
||||
const char* arg4)
|
||||
{
|
||||
// Construct the command line for the custom command.
|
||||
cmCustomCommandLine commandLine;
|
||||
|
@ -683,6 +684,10 @@ void cmMakefile::AddUtilityCommand(const char* utilityName, bool all,
|
|||
{
|
||||
commandLine.push_back(arg3);
|
||||
}
|
||||
if(arg4)
|
||||
{
|
||||
commandLine.push_back(arg4);
|
||||
}
|
||||
cmCustomCommandLines commandLines;
|
||||
commandLines.push_back(commandLine);
|
||||
|
||||
|
|
|
@ -173,7 +173,8 @@ public:
|
|||
const char* command,
|
||||
const char* arg1=0,
|
||||
const char* arg2=0,
|
||||
const char* arg3=0);
|
||||
const char* arg3=0,
|
||||
const char* arg4=0);
|
||||
void AddUtilityCommand(const char* utilityName, bool all,
|
||||
const char* output,
|
||||
const std::vector<std::string>& depends,
|
||||
|
|
Loading…
Reference in New Issue