summaryrefslogtreecommitdiff
path: root/Source/cmExtraSublimeTextGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-06 17:31:47 -0500
committerBrad King <brad.king@kitware.com>2014-03-08 13:05:31 -0500
commitfabf1fbabb4fc67844d5b2210e70a9829a59ff23 (patch)
tree9e40776ac9efdcb7b674f2e25f1d47f74b3b7baf /Source/cmExtraSublimeTextGenerator.h
parenta6ae2ea72bc0d4149c2ff6118fcfd577e95c680d (diff)
downloadcmake-fabf1fbabb4fc67844d5b2210e70a9829a59ff23.tar.gz
stringapi: Use strings in target name
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.h')
-rw-r--r--Source/cmExtraSublimeTextGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.h b/Source/cmExtraSublimeTextGenerator.h
index 7902593727..44dfb3194d 100644
--- a/Source/cmExtraSublimeTextGenerator.h
+++ b/Source/cmExtraSublimeTextGenerator.h
@@ -60,12 +60,12 @@ private:
* specified target.
*/
std::string BuildMakeCommand(const std::string& make, const char* makefile,
- const char* target);
+ const std::string& target);
/** Appends the specified target to the generated project file as a Sublime
* Text build system.
*/
void AppendTarget(cmGeneratedFileStream& fout,
- const char* targetName,
+ const std::string& targetName,
cmLocalGenerator* lg,
cmTarget* target,
const char* make,