You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MusubiKit",
|
|
defaultLocalization: "de",
|
|
platforms: [.macOS(.v14)],
|
|
products: [
|
|
.library(name: "MusubiCore", targets: ["MusubiCore"]),
|
|
.library(name: "NDIKit", targets: ["NDIKit"]),
|
|
.library(name: "VideoOutput", targets: ["VideoOutput"]),
|
|
.library(name: "AudioMatrix", targets: ["AudioMatrix"]),
|
|
.library(name: "DesignSystem", targets: ["DesignSystem"]),
|
|
],
|
|
targets: [
|
|
// Pure logic: models, scenes, settings.
|
|
.target(name: "MusubiCore"),
|
|
|
|
// NDI SDK (C) via module map. Headers and libndi live in Vendor/NDI/ (not checked in).
|
|
.systemLibrary(name: "CNDI"),
|
|
.target(name: "NDIKit", dependencies: ["CNDI", "MusubiCore"]),
|
|
|
|
// Placeholders, filled in M1 (video) and M2 (audio).
|
|
.target(name: "VideoOutput", dependencies: ["MusubiCore"]),
|
|
.target(name: "AudioMatrix", dependencies: ["MusubiCore"]),
|
|
|
|
// Theme.swift is a symlink to design/Theme.swift (single source of truth).
|
|
.target(name: "DesignSystem"),
|
|
|
|
.testTarget(name: "MusubiCoreTests", dependencies: ["MusubiCore"]),
|
|
]
|
|
)
|