summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:40:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:33 (GMT)
commitc3833c7da40ccb03fc80bf10f37b77398d7123f8 (patch)
treec2ab4fd15ec826a258303f7a4852ef6fe285a664 /Source/cmGlobalGenerator.h
parentd76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1 (diff)
downloadCMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.zip
CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.gz
CMake-c3833c7da40ccb03fc80bf10f37b77398d7123f8.tar.bz2
stringapi: Use strings for VS project names
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 4779682..ce285d6 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -106,7 +106,7 @@ public:
* loaded commands, not as part of the usual build process.
*/
virtual int TryCompile(const char *srcdir, const char *bindir,
- const char *projectName,
+ const std::string& projectName,
const std::string& targetName,
bool fast, std::string *output, cmMakefile* mf);
@@ -118,7 +118,7 @@ public:
* done first.
*/
int Build(const char *srcdir, const char *bindir,
- const char *projectName, const std::string& targetName,
+ const std::string& projectName, const std::string& targetName,
std::string *output,
const char *makeProgram, const char *config,
bool clean, bool fast,
@@ -130,7 +130,7 @@ public:
virtual void GenerateBuildCommand(
std::vector<std::string>& makeCommand,
const char* makeProgram,
- const char *projectName, const char *projectDir,
+ const std::string& projectName, const char *projectDir,
const std::string& targetName, const char* config, bool fast,
std::vector<std::string> const& makeOptions = std::vector<std::string>()
);
@@ -223,7 +223,7 @@ public:
/** If check to see if the target is linked to by any other
target in the project */
- bool IsDependedOn(const char* project, cmTarget const* target);
+ bool IsDependedOn(const std::string& project, cmTarget const* target);
///! Find a local generator by its startdirectory
cmLocalGenerator* FindLocalGenerator(const std::string& start_dir) const;