summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-29 20:40:07 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-29 20:40:07 (GMT)
commit76eb733f3a1117b11266a05c29342671a79200e8 (patch)
treef1b6168ad72709b1426ac92384370a1669b1d26c /Source/cmGlobalXCodeGenerator.h
parent8ab2548d6c67909a572b2e94993e9acc93fab61a (diff)
downloadCMake-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.h4
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"; }