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/cmQtAutoGenerators.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/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index af4ceb9..a593dd5 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -21,7 +21,7 @@ class cmQtAutoGenerators { public: cmQtAutoGenerators(); - bool Run(const char* targetDirectory, const std::string& config); + bool Run(const std::string& targetDirectory, const std::string& config); bool InitializeAutogenTarget(cmTarget* target); void SetupAutoGenerateTarget(cmTarget const* target); @@ -37,11 +37,11 @@ private: void SetupAutoRccTarget(cmTarget const* target); bool ReadAutogenInfoFile(cmMakefile* makefile, - const char* targetDirectory, + const std::string& targetDirectory, const std::string& config); bool ReadOldMocDefinitionsFile(cmMakefile* makefile, - const char* targetDirectory); - void WriteOldMocDefinitionsFile(const char* targetDirectory); + const std::string& targetDirectory); + void WriteOldMocDefinitionsFile(const std::string& targetDirectory); std::string MakeCompileSettingsString(cmMakefile* makefile); |