Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[poc] CMake + iOS #7855

Merged
merged 14 commits into from Oct 29, 2020
Merged

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Oct 9, 2020

Changelog: Feature: Add POC on a toolchain for iOS (using CMake XCode generator).
Docs: conan-io/docs#1906

Only working with XCode generator for the moment: https://cmake.org/cmake/help/v3.18/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos

Close #7810

conans/test/integration/toolchains/ios/_utils.py Outdated Show resolved Hide resolved
conans/client/toolchain/cmake/ios.py Outdated Show resolved Hide resolved
""" Simplest approach:
https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos
"""
self.t.save({'conanfile.py': self._conanfile.format(generator='"Xcode"')})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To discuss what would be a way so the recipe doesn't need to hardcode generator=Xcode in it, so it can be generic to more platforms.

@memsharded memsharded added this to To do in Toolchain Oct 20, 2020
@memsharded memsharded moved this from To do to In Progress in Toolchain Oct 20, 2020
@czoido czoido marked this pull request as ready for review Oct 29, 2020
@memsharded memsharded added this to the 1.31 milestone Oct 29, 2020
@memsharded memsharded merged commit d1766da into conan-io:develop Oct 29, 2020
2 checks passed
Toolchain automation moved this from In Progress to Done Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Toolchain
  
Done
Development

Successfully merging this pull request may close these issues.

[feature] CMakeToolchain + iOS projects PoC
3 participants