-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (27 loc) · 785 Bytes
/
Copy pathPackage.swift
File metadata and controls
28 lines (27 loc) · 785 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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "SichuanVoiceInput",
platforms: [.macOS(.v14)],
targets: [
.target(
name: "CQwenASR",
path: "Sources/CQwenASR",
publicHeadersPath: "include",
linkerSettings: [
.unsafeFlags([
"-L\(Context.packageDirectory)/vendor/qwen-asr/lib",
"-lqwen_asr",
]),
.linkedFramework("Accelerate"),
]
),
.executableTarget(
name: "SichuanVoiceInput",
dependencies: ["CQwenASR"],
path: "Sources",
exclude: ["CQwenASR"],
swiftSettings: [.swiftLanguageMode(.v5)]
),
]
)