cmake add_compile_definitions for specific arch for xcode
When I use add_definitions(-DENABLE_SOMETHING) or add_compile_definitions(-DENABLE_SOMETHING) in CMake to generate a XCode Project, it will work for all archs in build setting.Just like below: How could I use add_definitions or add_compile_definitions for specific arch, like this: Because I want to…