Skip to content
forked from 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)

License

Notifications You must be signed in to change notification settings

ollef/ios-cmake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

This version has been tested with xcode 5.1 and iOS SDK 7.1

In order to compile the static library for the iOS simulator 32 bit, 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 install

Once the library is compiled and installed, change to the folder where the sample application sources reside, then open XCode with:

open hello-app.xcodeproj

Set IOS_PLATFORM to SIMULATOR64 to build for iOS simulator 64 bit

Set IOS_PLATFORM to OS to build for Device

About

A toolchain file and examples using cmake for iOS development (this is a fork of a similar project found on code.google.com)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 100.0%