summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-10-18 19:53:12 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-10-23 17:29:09 (GMT)
commit601e6e1ad10b83dcb5ad09d061b04e6974cda283 (patch)
treeb6658bdbf3e84d2c3e6d5aac30dcec0860e56010 /Source/cmGlobalXCodeGenerator.h
parent2f269fdf0c293e80325c748c985279bc4067af3e (diff)
downloadCMake-601e6e1ad10b83dcb5ad09d061b04e6974cda283.zip
CMake-601e6e1ad10b83dcb5ad09d061b04e6974cda283.tar.gz
CMake-601e6e1ad10b83dcb5ad09d061b04e6974cda283.tar.bz2
Xcode: Use regular expression to extract all optimisation flags (#15794)
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 9daf0ab..791324d 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -151,6 +151,8 @@ private:
cmXCodeObject* buildSettings,
const std::string& buildType);
std::string ExtractFlag(const char* flag, std::string& flags);
+ std::string ExtractFlagRegex(const char* exp, int matchIndex,
+ std::string& flags);
void SortXCodeObjects();
// delete all objects in the this->XCodeObjects vector.
void ClearXCodeObjects();