-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (30 loc) · 771 Bytes
/
Package.swift
File metadata and controls
32 lines (30 loc) · 771 Bytes
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "IMFPlayerSwift",
platforms: [
.macOS(.v12)
],
products: [
.executable(
name: "IMFPlayerSwift",
targets: ["IMFPlayerSwift"]
)
],
targets: [
// C/C++ target that contains dbopl.cpp and a tiny C API wrapper.
.target(
name: "DBOPLWrapper",
path: "Sources/DBOPLWrapper",
publicHeadersPath: "include",
cxxSettings: [
.headerSearchPath("include")
]
),
.executableTarget(
name: "IMFPlayerSwift",
dependencies: ["DBOPLWrapper"],
path: "Sources/IMFPlayerSwift"
)
]
)