stringapi: Use strings for output names in AddCustomCommandToOutput

This commit is contained in:
Ben Boeckel 2014-02-07 15:32:48 -05:00 committed by Brad King
parent 77f60392d9
commit 30bc251b65
2 changed files with 2 additions and 2 deletions

View File

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

View File

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