[CMakeToolchain] Adding Xcode flags - #10985
memsharded merged 7 commits into
Conversation
|
Basically, what I'm trying to do is to add some capabilities from the https://github.com/leetal/ios-cmake repository so we'll be able to add some common Xcode flags if those configurations are enabled/disabled. |
lasote
left a comment
There was a problem hiding this comment.
I have to check the toolchain you used as a reference to understand a little bit but at first sight, this looks good.
memsharded
left a comment
There was a problem hiding this comment.
Please have a look at the comments
a4163a6 to
82f9dc5
Compare
|
Hi @franramirez688 , I had a look at the ios-cmake repo and there it is set for both CMAKE_C_FLAGS and CMAKE_CXX_FLAGS (see https://github.com/leetal/ios-cmake/blob/master/ios.toolchain.cmake). |
That's a very good question. It looks like a bug indeed 🤔 I don't remember why but it looks like it was missed... |
Changelog: Feature: Added new configuration fields:
tools.apple:enable_bitcode,tools.apple:enable_arcandtools.apple:enable_visibility.Changelog: Feature: Added new mechanism to inject common Xcode flags in
CMakeToolchaingenerator if enabled Bitcode, ARC, or Visibility configurations.Closes: #9448
Docs: conan-io/docs#2506