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

[WIP] [flatbuffers] Add support for iOS #7380

Closed
wants to merge 3 commits into from

Conversation

Helco
Copy link
Contributor

@Helco Helco commented Jul 23, 2019

This is a fix for flatbuffers on iOS using the alcroito's work of PR #6275.
Neither the compiler nor the flathash executable should be compiled, same as with UWP.

This should be regarded as WIP, as I didn't got around testing it on hardware (hopefully in the next few days).
As to the location of the PR, I am also okay with this being merged into alcroito/ios_support first.

alcroito and others added 3 commits June 17, 2019 10:57
The toolchain is automatically picked up when CMAKE_SYSTEM_NAME
equals iOS. The toolchain sets the architectures for which to build
packages, as well as the processor type (because certain packages like
libpng depend on their value).

Automatic detection of triplets for iOS / tvOS / watchOS is added when
using the vcpkg.cmake toolchain while building your own application.
It uses the values of CMAKE_SYSTEM_NAME and CMAKE_OSX_ARCHITECTURES
to detect the triplet.

Fix (in a hacky way) find_package to find vcpkg installed packages.
Reset the CMAKE_FIND_ROOT_PATH value, until upstream CMake removes its
hardcoding of CMAKE_FIND_ROOT_PATH to Apple's SDK sysroot.

Fixes: microsoft#6003
@cbezault cbezault self-assigned this Jul 25, 2019
@cbezault cbezault assigned grdowns and unassigned cbezault Oct 2, 2019
@PhoebeHui PhoebeHui self-assigned this Jan 14, 2020
@PhoebeHui
Copy link
Contributor

@Helco, Is work still being done for this PR?

@Helco
Copy link
Contributor Author

Helco commented May 12, 2020

Sadly not by me as I have no longer access to the necessary Apple devices anymore

@strega-nil strega-nil marked this pull request as draft May 21, 2020 21:52
@dan-shaw
Copy link
Contributor

Closing this PR, please reopen if still being worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants