-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPackage.swift
38 lines (35 loc) · 1.07 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "GodotVision",
platforms: [
.macOS(.v13),
.visionOS(.v1)
],
products: [
.library(name: "GodotVision", targets: ["GodotVision"])
],
dependencies: [
//.package(path: "../SwiftGodotKit")
.package(url: "https://github.com/multijam/SwiftGodotKit", revision: "526ae902f84c1604d30680d8198c09fdfa566848"),
],
targets: [
.target(
name: "GodotVision",
/* static build experiment...
dependencies: ["binary_SwiftGodotKit", "binary_libgodot"],
*/
dependencies: ["SwiftGodotKit"],
path: "Sources"
// sources are implicitly in 'Sources' directory.
),
/*
static build experiment...
.binaryTarget (
name: "binary_SwiftGodotKit",
path: "../SwiftGodotKit/SwiftGodotKit.xcframework"
),
.binaryTarget(name: "binary_libgodot", path: "../SwiftGodot/libgodot.xcframework")
*/
]
)