Compiling for iOS with CMake

前端 未结 4 801
难免孤独
难免孤独 2020-12-24 14:49

I\'ve compiled a C++ static library by using CMake as my building tool and I want to link it to my iOS app.
I created a simple \'Empty\' application in Xcode and linked

4条回答
  •  醉酒成梦
    2020-12-24 14:58

    I've been using an updated version of the iOS CMake toolchain for quite a while: https://github.com/leetal/ios-cmake

    This creates an Xcode project which you can drag into an existing iOS project if necessary.

    I wrote a blog post with more details: https://blog.tomtasche.at/2019/05/how-to-include-cmake-project-in-xcode.html

提交回复
热议问题