ruslo/polly

How to start for iOS?

zhouhao27 opened this issue · 4 comments

I'm planing to compile a C++ library for iOS. Where to start? Is there any tutorial for this? Thanks.

ruslo commented

There is no tutorials, you can find some useful info in this document:

So I should add those flags/variables in CMakeLists.txt for iOS? Or I add the flags at command line when I call cmake?

ruslo commented

This project is a collection of a CMake toolchains. There are toolchains that used to build iOS projects. Toolchain can be set by -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain/ios*.cmake or by polly.py --toolchain ios* helper script which is just a wrapper for running CMake.

ruslo commented

Closing inactive discussion.