diff options
author | Brad King <brad.king@kitware.com> | 2009-07-29 20:40:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-29 20:40:07 (GMT) |
commit | 76eb733f3a1117b11266a05c29342671a79200e8 (patch) | |
tree | f1b6168ad72709b1426ac92384370a1669b1d26c /Source/cmGlobalXCodeGenerator.h | |
parent | 8ab2548d6c67909a572b2e94993e9acc93fab61a (diff) | |
download | CMake-76eb733f3a1117b11266a05c29342671a79200e8.zip CMake-76eb733f3a1117b11266a05c29342671a79200e8.tar.gz CMake-76eb733f3a1117b11266a05c29342671a79200e8.tar.bz2 |
Separate Xcode flag escaping code from defines
Generalize the core Xcode generator preprocessor flag escaping code to
be useful for escaping all flags.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index e7bb20c..03082d2 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -183,6 +183,10 @@ private: void AppendDefines(BuildObjectListOrString& defs, const char* defines_list, bool dflag = false); + void AppendDefines(BuildObjectListOrString& defs, + std::vector<std::string> const& defines, + bool dflag = false); + void AppendFlag(std::string& flags, std::string const& flag); protected: virtual const char* GetInstallTargetName() { return "install"; } |