diff options
author | Bruce Stephens <bruce.stephens@isode.com> | 2016-02-20 19:35:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-07 19:57:26 (GMT) |
commit | 1f2b39c6ce390570ab3918b5e1169619394bb669 (patch) | |
tree | 750a6ee19cc58ce5408352fc20b06dea69409e1a /Source/cmCommonTargetGenerator.h | |
parent | 8256d021c8324779c7269658a094848ebeafb82e (diff) | |
download | CMake-1f2b39c6ce390570ab3918b5e1169619394bb669.zip CMake-1f2b39c6ce390570ab3918b5e1169619394bb669.tar.gz CMake-1f2b39c6ce390570ab3918b5e1169619394bb669.tar.bz2 |
cmCommonTargetGenerator: Adopt AppendOSXVerFlag method
Move this method from cmMakefileLibraryTargetGenerator so it can be
re-used for the Ninja generator too.
Signed-off-by: Bruce Stephens <bruce.r.stephens@gmail.com>
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r-- | Source/cmCommonTargetGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h index 0c17500..bfb6b79 100644 --- a/Source/cmCommonTargetGenerator.h +++ b/Source/cmCommonTargetGenerator.h @@ -79,6 +79,9 @@ protected: virtual void AddIncludeFlags(std::string& flags, std::string const& lang) = 0; + void AppendOSXVerFlag(std::string& flags, const std::string& lang, + const char* name, bool so); + typedef std::map<std::string, std::string> ByLanguageMap; std::string GetFlags(const std::string &l); ByLanguageMap FlagsByLanguage; |