Skip to content

Instantly share code, notes, and snippets.

@sansumbrella
Last active June 2, 2016 19:55
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 sansumbrella/8c5b09c5285c98f0009680c4fa4069d2 to your computer and use it in GitHub Desktop.
Save sansumbrella/8c5b09c5285c98f0009680c4fa4069d2 to your computer and use it in GitHub Desktop.
Expansion of Cinder's user-config for building libraries for tvos.
using clang : osx
: xcrun clang -arch i386 -arch x86_64 -stdlib=libc++ -std=c++11 -mmacosx-version-min=10.8 -fvisibility-inlines-hidden
;
using clang : ios
: xcrun clang -arch armv7 -arch arm64 -stdlib=libc++ -std=c++11 -miphoneos-version-min=6.0 -fvisibility-inlines-hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/
;
using clang : ios_sim
: xcrun clang -arch i386 -arch x86_64 -stdlib=libc++ -std=c++11 -miphoneos-version-min=6.0 -fvisibility-inlines-hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/
;
using clang : tvos
: xcrun clang -arch arm64 -stdlib=libc++ -std=c++11 -mtvos-version-min=9.0 -fembed-bitcode -fvisibility-inlines-hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS9.2.sdk/
;
using clang : tvos_sim
: xcrun clang -arch i386 -arch x86_64 -stdlib=libc++ -std=c++11 -mtvos-version-min=9.0 -fvisibility-inlines-hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk/
;
@sansumbrella
Copy link
Author

See Cinder + Boost for details on usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment