Swift port
staff0rd opened this issue · 3 comments
I messed with this until I could get it to build a Swift version;
https://github.com/staff0rd/ios-cmake/tree/swift
Do you want to include a Swift version in this repo, or would you consider it to be separate?
I think the best way to make this work would be to put all the objective-c in one place and all the swift in another. Then somehow you can easily switch between which language template to build the system for.
So if someone clone's this to start a project, set the SWIFT flag somewhere, and just adding their code to /swift
- the other language template(s) become dead and not part of the build target.
Will ponder where that flag should go.
Could GLOB_RECURSE the folder for whichever language template is selected.
Hi would you mind sending over a pull request with the swift files in a folder called swiftapp
whenever you get a chance? I am going to keep the objective-c the default ones but I do think including an app rooted in swift would be useful.