Skip to content

Instantly share code, notes, and snippets.

@BloodAxe
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BloodAxe/a8817980ec8412d16737 to your computer and use it in GitHub Desktop.
Save BloodAxe/a8817980ec8412d16737 to your computer and use it in GitHub Desktop.
Show a little love for IOS (configure toolchain)
# Show a little love for IOS (configure toolchain)
set(SDKVER "7.1")
set(DEVROOT "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer")
set(SDKROOT "iphoneos7.1")
set(CMAKE_OSX_SYSROOT "${SDKROOT}")
set(CMAKE_OSX_ARCHITECTURES "armv7 armv7s")
set(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2")
set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "6.1")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment