diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-24 22:38:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:38 (GMT) |
commit | 24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7 (patch) | |
tree | 5ec6ae8e35601e8762007e248ab8f5e1da7b771c /Source/cmGlobalGenerator.h | |
parent | 11ed3e2cfe70e7d9d5a8e1f8e24fa61bbf6420b0 (diff) | |
download | CMake-24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7.zip CMake-24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7.tar.gz CMake-24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7.tar.bz2 |
stringapi: Use strings for directories
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 5b97960..761fb07 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -105,7 +105,7 @@ public: * Try running cmake and building a file. This is used for dynamically * loaded commands, not as part of the usual build process. */ - virtual int TryCompile(const char *srcdir, const char *bindir, + virtual int TryCompile(const std::string& srcdir, const std::string& bindir, const std::string& projectName, const std::string& targetName, bool fast, std::string *output, cmMakefile* mf); @@ -117,7 +117,7 @@ public: * empty then all is assumed. clean indicates if a "make clean" should be * done first. */ - int Build(const char *srcdir, const char *bindir, + int Build(const std::string& srcdir, const std::string& bindir, const std::string& projectName, const std::string& targetName, std::string *output, const char *makeProgram, const std::string& config, @@ -130,7 +130,7 @@ public: virtual void GenerateBuildCommand( std::vector<std::string>& makeCommand, const char* makeProgram, - const std::string& projectName, const char *projectDir, + const std::string& projectName, const std::string& projectDir, const std::string& targetName, const std::string& config, bool fast, std::vector<std::string> const& makeOptions = std::vector<std::string>() ); |