mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 15:50:50 -06:00
stringapi: Use strings for output names in AddCustomCommandToOutput
This commit is contained in:
@@ -1102,7 +1102,7 @@ cmMakefile::UpdateOutputToSourceMap(std::string const& output,
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
cmSourceFile*
|
||||
cmMakefile::AddCustomCommandToOutput(const char* output,
|
||||
cmMakefile::AddCustomCommandToOutput(const std::string& output,
|
||||
const std::vector<std::string>& depends,
|
||||
const char* main_dependency,
|
||||
const cmCustomCommandLines& commandLines,
|
||||
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
bool replace = false,
|
||||
bool escapeOldStyle = true);
|
||||
cmSourceFile* AddCustomCommandToOutput(
|
||||
const char* output,
|
||||
const std::string& output,
|
||||
const std::vector<std::string>& depends,
|
||||
const char* main_dependency,
|
||||
const cmCustomCommandLines& commandLines,
|
||||
|
||||
Reference in New Issue
Block a user