ENH: Add extra argument

This commit is contained in:
Andy Cedilnik 2005-06-16 16:33:24 -04:00
parent 73fe7c316a
commit f7ddfbe1fd
2 changed files with 8 additions and 2 deletions

View File

@ -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);

View File

@ -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,