123456789101112131415161718192021222324252627282930313233343536373839 |
- // swift-tools-version: 5.9
- // The swift-tools-version declares the minimum version of Swift required to build this package.
- import PackageDescription
- let package = Package(
- name: "spine-ios",
- platforms: [
- .iOS(.v13)
- ],
- products: [
- // Products define the executables and libraries a package produces, making them visible to other packages.
- .library(
- name: "Spine",
- targets: ["Spine"]
- )
- ],
- targets: [
- .target(
- name: "Spine",
- dependencies: [
- "SpineCppLite", "SpineShadersStructs"
- ],
- path: "spine-ios/Sources/Spine",
- swiftSettings: [
- .interoperabilityMode(.Cxx)
- ]
- ),
- .target(
- name: "SpineCppLite",
- path: "spine-ios/Sources/SpineCppLite"
- ),
- .systemLibrary(
- name: "SpineShadersStructs",
- path: "spine-ios/Sources/SpineShadersStructs"
- )
- ],
- cxxLanguageStandard: .cxx11
- )
|