diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-01-02 16:57:06 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2016-01-03 10:46:27 (GMT) |
commit | 28db2268e8e36521626071a39596b9aaa87defbb (patch) | |
tree | 88c610c03e52d9eabddf2d01314163a7b61cbe9f /Source/cmGlobalXCodeGenerator.h | |
parent | 506504d44049b91fe51539a1b7a29cdc65234b7f (diff) | |
download | CMake-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.h | 2 |
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(); |