Xcode: Add more '$(inherited)' elements to generated build settings
Xcode projects generated by cmake are missing $(inherited)
elements in some build settings that would exist normally. Cmake does already add this to some settings.
This means that cmake generated projects have difficulty using cocoapods as this uses xcconfig files to add modifications to xcode projects. Without the $(inherited)
tags, the settings from xcconfig files are overwritten causing build issues.
This commit adds the $(inherited)
element to the following settings:
- GCC_PREPROCESSOR_DEFINITIONS
- OTHER_CFLAGS
- OTHER_LDFLAGS
This allows more 'pods' to build and function correctly whilst still using cmake.
Edited by Brad King