summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2016-01-02 16:57:06 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2016-01-03 10:46:27 (GMT)
commit28db2268e8e36521626071a39596b9aaa87defbb (patch)
tree88c610c03e52d9eabddf2d01314163a7b61cbe9f /Source/cmGlobalXCodeGenerator.h
parent506504d44049b91fe51539a1b7a29cdc65234b7f (diff)
downloadCMake-28db2268e8e36521626071a39596b9aaa87defbb.zip
CMake-28db2268e8e36521626071a39596b9aaa87defbb.tar.gz
CMake-28db2268e8e36521626071a39596b9aaa87defbb.tar.bz2
Xcode: Factor out XCODE_ATTRIBUTE_ variant filter (#14947)
Move the variant=<config> filter out to a helper function so that it can be re-used later for CMAKE_XCODE_ATTRIBUTE_*.
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 c8a39df..4801064 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -153,6 +153,8 @@ private:
std::string ExtractFlag(const char* flag, std::string& flags);
std::string ExtractFlagRegex(const char* exp, int matchIndex,
std::string& flags);
+ void FilterConfigurationAttribute(std::string const& configName,
+ std::string& attribute);
void SortXCodeObjects();
// delete all objects in the this->XCodeObjects vector.
void ClearXCodeObjects();