Files
swift-mirror/stdlib/objc/SpriteKit/CMakeLists.txt
Joe Groff 1c1535fbcb stdlib: Add an overlay to GLKit with projection accessors.
We can access pretty much all of the GLKit functions now, but still lacked accessors for the individual elements. gyb up some accessors to do dirty bitcasting tricks to expose the elements of GLKVectorN, GLKMatrixN, and GLKQuaternion values.

Swift SVN r23892
2014-12-12 19:19:31 +00:00

22 lines
551 B
CMake

set(SHARED_LIBRARY ON)
if (SWIFT_DEPLOYMENT_OS MATCHES "^macosx")
set(SWIFTSPRITEKIT_UI swiftAppKit)
else()
set(SWIFTSPRITEKIT_UI swiftUIKit)
endif()
add_swift_library(swiftSpriteKit INSTALL
SpriteKit.swift
SpriteKitMirrors.swift.gyb
DEPENDS ${SWIFTSPRITEKIT_UI} swiftGLKit
FRAMEWORK_DEPENDS SpriteKit)
if (SWIFT_SDKS)
add_swift_library(swiftSpriteKit INSTALL TARGET_LIBRARY
SpriteKit.swift
SpriteKitMirrors.swift.gyb
TARGET_SDKS IOS IOS_SIMULATOR
DEPENDS swiftUIKit swiftGLKit
FRAMEWORK_DEPENDS SpriteKit)
endif()