Skip to content

Commit

Permalink
Merge branch 'master' of /~https://github.com/leetal/ios-cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Widerberg committed Dec 13, 2017
2 parents 43567a1 + 4a4b37e commit 8db1fd4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A CMake toolchain file for iOS development
A CMake toolchain file for iOS and tvOS development

ios-cmake
=========
Expand Down Expand Up @@ -30,5 +30,11 @@ This will create an XCode project in build directory where the example can be mo
* Set `-DIOS_PLATFORM` to "SIMULATOR" (example above) to build for iOS simulator 32 bit (i386)
* Set `-DIOS_PLATFORM` to "SIMULATOR64" to build for iOS simulator 64 bit (x86_64)
* Set `-DIOS_PLATFORM` to "OS" to build for Device (armv7, armv7s, arm64)
* Set `-DIOS_PLATFORM` to "TVOS" to build for tvOS (arm64)
* Set `-DIOS_PLATFORM` to "SIMULATOR_TVOS" to build for tvOS Simulator (x86_64)

__*The resulting binary will be a fat library. To combine all platforms into the same, use the LIPO tool. More information on this is available on the net.*__

## Thanks To

* [![natbro](/~https://github.com/natbro)](/~https://github.com/natbro) for adding tvOS support

0 comments on commit 8db1fd4

Please sign in to comment.