mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
22 lines
551 B
CMake
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()
|