Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cristeab/ios-cmake
A toolchain file and examples using cmake for iOS development (this is a fork of a similar project found on code.google.com)
https://github.com/cristeab/ios-cmake
Last synced: 2 months ago
JSON representation
A toolchain file and examples using cmake for iOS development (this is a fork of a similar project found on code.google.com)
- Host: GitHub
- URL: https://github.com/cristeab/ios-cmake
- Owner: cristeab
- License: bsd-3-clause
- Created: 2013-12-27T12:38:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T07:20:42.000Z (over 4 years ago)
- Last Synced: 2024-08-02T01:25:49.703Z (6 months ago)
- Language: CMake
- Size: 51.8 KB
- Stars: 313
- Watchers: 18
- Forks: 110
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ios-cmake
=========A toolchain file and examples using cmake for iOS development. This is a fork of a similar project found on https://code.google.com/p/ios-cmake/
Tested with Xcode 11.4.1
In order to compile the static library for the iOS simulator (fat file: i386 x86_64), change to the folder where the library sources reside, then:
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../../../toolchain/iOS.cmake -DIOS_PLATFORM=SIMULATOR
make
make installOnce the library is compiled and installed, change to the folder where the sample application sources reside, then open Xcode project:
open hello-app.xcodeproj
Set IOS_PLATFORM to OS to build for Device (the generated library is a fat file: armv7 armv7s arm64).