Comments (7)
The right solution would be to implement all this stuff in CMake itself and see what should go where
Actually I think iOS framework creation is fixed in CMake. I see iOS mentioned here:
I've tried simple example and it looks good. Need to try something with complex structure.
@xsacha you can post your question to CMake bugtracker in this case.
@headupinclouds +cc
from polly.
As I said before, I haven't worked with Swift so can't give any advice here.
from polly.
@ruslo That's fine (regarding Swift usage). However, could you give me some pointers in how to find the name of these folders?
I know how to find _builds/ios-toolchain/bin/Release but not sure how to find the name Foo_0_0_0_0 (That is, the soname with version).
Also unsure of how to work out the directory _builds/ios-toolchain/Foo/Bar.build/Release-iphoneos/Bar.build/DerivedSources
If I can get some variable name for these, I could fix the create_framework.py script.
So I guess the main things I would need is:
How to find the version: eg. 0_0_0_0
How to find what Bar.build/Release-iphoneos directory is. (This is supplied as -emit-objc-header-path by CMake on the compile/link line).
from polly.
I really don't know what all this is about :) The right solution would be to implement all this stuff in CMake itself and see what should go where.
from polly.
It already is in CMake and those are the generated files.
Only Polly does iOS frameworks properly (?) though so I just wanted to know how to calculate those directories so I can copy the relevant files to the framework.
from polly.
Need to try something with complex structure.
Works fine.
Don't use --framework
- use CMake FRAMEWORK
instead. Closing.
from polly.
This is great news, thanks!
from polly.
Related Issues (20)
- mingw cross compilation from Linux to Windows HOT 9
- CHECK_TYPE_SIZE iOS error HOT 4
- Clang Compiler Test Failing For iOS-10-3-armv7.cmake At Master Commit 3e3f903 HOT 21
- xcode8 ios automatic provisioning HOT 1
- Additional C flags required for static-std.cmake to fix behaviour change in CMake HOT 1
- Problem codesigning iOS 11.2 with Xcode 9.2 (9C40b) HOT 5
- build details (active)
- reason for clearing IPHONEOS_DEPLOYMENT_TARGET HOT 4
- How to start for iOS? HOT 4
- --framework fails on codesign for multiple iPhone Developer certificate HOT 3
- ANDROID_NDK_rXX not set HOT 4
- Build failure on latest XCode (10A255) HOT 6
- add support for qnx HOT 2
- colorized ouput HOT 5
- Possible issue with NoCodeSign.xcconfig HOT 11
- "/usr/bin/ld: cannot find -lc++" when using the clang-lto toolchain file HOT 2
- How to reduce Xcodebuild log size? HOT 4
- Add support for Apple's Project Catalyst HOT 2
- Problem with CPack HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polly.