Please note that some projects do not build out of the box on iOS for different reasons. I'll be using glog for the purpose of this tutorial. Clone the C++ project you'd like to include in your project To save myself and others some time in the future, I'd like to walk through an example of how you can build a CMake project for iOS in Xcode:ĭoh! Assuming you don't have one already. Turns out there are not a lot of people doing this as most of the information you'll find is either outdated (no, I'm not using Xcode 5 anymore) or requires a lot of background knowledge about both Xcode and CMake - which I'm both lacking. I don't know much about C++, but I know that CMake is a popular build tool and for the project I was trying to import it was the preferred way to build it anyway. ![]() ![]() For an iOS app I'm working on I needed to include a C++ project, have it build according to the current scheme (debug / release) and be able to debug it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |