swift-cmake-examples icon indicating copy to clipboard operation
swift-cmake-examples copied to clipboard

Support for use with XCode?

Open atyshka opened this issue 3 years ago • 1 comments

Hi Saleem, maybe not the most relevant place to post but better then filing a CMake issue: have you successfully gotten CMake swift support working so that a Swift library can be compiled with CMake and imported into XCode? Presumably the problem is twofold, both getting CMake to properly compile for the architecture and getting XCode to import the library. Regarding the first, I'm aware of several ios CMake toolchains with guides for C but not swift, hopefully differences would be minor or just work out of the box. I'm unsure how one would go about the latter. No need to implement an example here, I'm undertaking this myself and may submit a PR with example if I get this working, just thought I'd see if you had any resources/tips to point me in the right direction.

atyshka avatar Aug 26 '20 03:08 atyshka