stringapi: Take strings for utility command names
This commit is contained in:
parent
466abd846f
commit
4c53997f38
|
@ -1188,7 +1188,7 @@ cmMakefile::AddCustomCommandOldStyle(const std::string& target,
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmMakefile::AddUtilityCommand(const char* utilityName,
|
void cmMakefile::AddUtilityCommand(const std::string& utilityName,
|
||||||
bool excludeFromAll,
|
bool excludeFromAll,
|
||||||
const std::vector<std::string>& depends,
|
const std::vector<std::string>& depends,
|
||||||
const char* workingDirectory,
|
const char* workingDirectory,
|
||||||
|
@ -1227,7 +1227,7 @@ void cmMakefile::AddUtilityCommand(const char* utilityName,
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmTarget*
|
cmTarget*
|
||||||
cmMakefile::AddUtilityCommand(const char* utilityName,
|
cmMakefile::AddUtilityCommand(const std::string& utilityName,
|
||||||
bool excludeFromAll,
|
bool excludeFromAll,
|
||||||
const char* workingDirectory,
|
const char* workingDirectory,
|
||||||
const std::vector<std::string>& depends,
|
const std::vector<std::string>& depends,
|
||||||
|
|
|
@ -222,7 +222,7 @@ public:
|
||||||
* Add a utility to the build. A utiltity target is a command that
|
* Add a utility to the build. A utiltity target is a command that
|
||||||
* is run every time the target is built.
|
* is run every time the target is built.
|
||||||
*/
|
*/
|
||||||
void AddUtilityCommand(const char* utilityName, bool excludeFromAll,
|
void AddUtilityCommand(const std::string& utilityName, bool excludeFromAll,
|
||||||
const std::vector<std::string>& depends,
|
const std::vector<std::string>& depends,
|
||||||
const char* workingDirectory,
|
const char* workingDirectory,
|
||||||
const char* command,
|
const char* command,
|
||||||
|
@ -230,7 +230,8 @@ public:
|
||||||
const char* arg2=0,
|
const char* arg2=0,
|
||||||
const char* arg3=0,
|
const char* arg3=0,
|
||||||
const char* arg4=0);
|
const char* arg4=0);
|
||||||
cmTarget* AddUtilityCommand(const char* utilityName, bool excludeFromAll,
|
cmTarget* AddUtilityCommand(const std::string& utilityName,
|
||||||
|
bool excludeFromAll,
|
||||||
const char* workingDirectory,
|
const char* workingDirectory,
|
||||||
const std::vector<std::string>& depends,
|
const std::vector<std::string>& depends,
|
||||||
const cmCustomCommandLines& commandLines,
|
const cmCustomCommandLines& commandLines,
|
||||||
|
|
Loading…
Reference in New Issue