-
Notifications
You must be signed in to change notification settings - Fork 101
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
cmake documentation, install for iOS app #87
Comments
Take a look at the macinit.ps1 and macbuild.ps1 PowerShell scripts for the commands needed to build for iOS. |
@kokuda Thanks for pointing out, tried to run init, it stopped with the following error:
Then started the build script and got the following:
So, what is the general flow ? What is the fastest route to get there ? BTW, what about prebuild nuget package ? I don't think that I need the latest version and existing package may work for me... |
Unfortunately, it has been a long time since I ran a mac or iOS build and don't recall the details. I just remembered that those scripts existed (I think I wrote them, but that was over 3 years ago and don't remember much) and thought they would help. You could try dissecting the commands within those scripts and run just the ones you need for iOS. Take a look at GenerateProjectsIOS() in macinit.ps1 for how to build the xcode project. I don't know if it still works but it might help. I believe that once the xcode project is generated you can build the library using xcode. |
Dupe or at least related: #70 |
Hi,
I am missing any documentation how to compile to static/dynamic lib to use inside iOS app.
I have tried to compile in the usual way, e.g.:
It worked, but install was done in: glTF-SDK/Built/Out/macOS/RelWithDebInfo/GLTFSDK/libGLTFSDK.a
How can I configure cmake to install it into /usr/local/include/ in order to use later in Xcode inside iPhone app ?
The text was updated successfully, but these errors were encountered: