mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-19 16:26:40 +08:00
- Created clean module separation: - SpineC: C/C++ compilation only (working) - SpineSwift: Generated Swift bindings + platform-agnostic API - SpineiOS: iOS-specific UI components only - Updated Package.swift with proper target structure - Moved generated Swift files to SpineSwift/Generated - Removed redundant SpineModule - Created test with skeleton_drawable_test.swift ported from Dart - Test successfully runs using SpineC module directly - Note: SpineSwift has Objective-C selector conflicts to be fixed
23 lines
532 B
Swift
23 lines
532 B
Swift
// swift-tools-version: 5.5
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SpineTest",
|
|
platforms: [
|
|
.macOS(.v10_15)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../../")
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SpineTest",
|
|
dependencies: [
|
|
.product(name: "SpineC", package: "spine-runtimes")
|
|
],
|
|
path: "src"
|
|
)
|
|
]
|
|
) |