From 28db2268e8e36521626071a39596b9aaa87defbb Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Sat, 2 Jan 2016 17:57:06 +0100 Subject: Xcode: Factor out XCODE_ATTRIBUTE_ variant filter (#14947) Move the variant= filter out to a helper function so that it can be re-used later for CMAKE_XCODE_ATTRIBUTE_*. --- Source/cmGlobalXCodeGenerator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmGlobalXCodeGenerator.h') diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index c8a39dfa2a..4801064c2c 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(); -- cgit v1.2.1