Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link
Owner Author

commented Apr 14, 2016

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
You can’t perform that action at this time.