build: depend on shared AVLiveWire package
Both ARBodyTracker (iOS) and AVLiveBody (macOS) now depend on the local shared/AVLiveWire package so the wire format is defined once. iOS USBServer imports it; macOS use lands in Plan 3.
This commit is contained in:
@@ -8,9 +8,15 @@ let package = Package(
|
||||
products: [
|
||||
.executable(name: "ARBodyTracker", targets: ["ARBodyTracker"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(path: "../../shared/AVLiveWire"),
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "ARBodyTracker",
|
||||
dependencies: [
|
||||
.product(name: "AVLiveWire", package: "AVLiveWire"),
|
||||
],
|
||||
path: "Sources/ARBodyTracker"
|
||||
),
|
||||
]
|
||||
|
||||
@@ -4,9 +4,15 @@ import PackageDescription
|
||||
let package = Package(
|
||||
name: "AVLiveBody",
|
||||
platforms: [.macOS(.v15)],
|
||||
dependencies: [
|
||||
.package(path: "../../shared/AVLiveWire"),
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "AVLiveBody",
|
||||
dependencies: [
|
||||
.product(name: "AVLiveWire", package: "AVLiveWire"),
|
||||
],
|
||||
path: "Sources/AVLiveBody",
|
||||
resources: [
|
||||
.copy("Resources/smplx_faces.bin"),
|
||||
|
||||
Reference in New Issue
Block a user