Gregor Jasny via cmake-developers
2018-01-16 10:19:01 UTC
Hi,
I created a CMake branch where I attempt to provide an easy way to
configure CMake projects for iOS (and all other Xcode SDKs).
All you need to build for iOS is:
cmake -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_OSX_SYSROOT=iphoneos -GXcode .
In case you build code that must be code signed also add your
development team: -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ABCDEFG
The merge request is here:
https://gitlab.kitware.com/cmake/cmake/merge_requests/1664
Please give it a try and add any comments you have to the merge
requests. I only tested it with Xcode 9 on High Sierra so far.
Thanks,
Gregor
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers
I created a CMake branch where I attempt to provide an easy way to
configure CMake projects for iOS (and all other Xcode SDKs).
All you need to build for iOS is:
cmake -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_OSX_SYSROOT=iphoneos -GXcode .
In case you build code that must be code signed also add your
development team: -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ABCDEFG
The merge request is here:
https://gitlab.kitware.com/cmake/cmake/merge_requests/1664
Please give it a try and add any comments you have to the merge
requests. I only tested it with Xcode 9 on High Sierra so far.
Thanks,
Gregor
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers