Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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