diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-04 16:06:56 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 13:05:28 -0500 |
commit | 3742bb0d324b971f63cc7e557b1cb8a9d08c5cdd (patch) | |
tree | 0259dae54801daae0f5823e335cc6b608328623d /Source/cmMakefileLibraryTargetGenerator.h | |
parent | ec97ed7d0c67b635caf3ada65541b2eaf0818a93 (diff) | |
download | cmake-3742bb0d324b971f63cc7e557b1cb8a9d08c5cdd.tar.gz |
stringapi: Use strings for variable names
Variable names are always generated by CMake and should never be NULL.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.h b/Source/cmMakefileLibraryTargetGenerator.h index 1487b56b15..4873516c89 100644 --- a/Source/cmMakefileLibraryTargetGenerator.h +++ b/Source/cmMakefileLibraryTargetGenerator.h @@ -30,7 +30,8 @@ protected: void WriteStaticLibraryRules(); void WriteSharedLibraryRules(bool relink); void WriteModuleLibraryRules(bool relink); - void WriteLibraryRules(const char *linkRule, const char *extraFlags, + void WriteLibraryRules(const std::string& linkRule, + const std::string& extraFlags, bool relink); // MacOSX Framework support methods void WriteFrameworkRules(bool relink); |