-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPackage.swift
40 lines (38 loc) · 1.53 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
39
40
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CyberGearKit",
products: [
.library(name: "CyberGearKit", targets: [
"CyberGearKit"
])
],
dependencies: [
.package(url: "https://github.com/AutomotiveSwift/Swift-SocketCAN.git", branch: "master"),
.package(url: "https://github.com/ReactiveX/RxSwift.git", branch: "6.6.0"),
.package(url: "https://github.com/ctreffs/SwiftImGui.git", branch: "1.89.5"),
.package(url: "https://github.com/CmST0us/AppBootstrapKit.git", branch: "main")
],
targets: [
.target(name: "CCyberGearProtocol",
exclude: ["test"]),
.target(name: "CyberGearKit",
dependencies: [
.target(name: "CCyberGearProtocol"),
.product(name: "Swift-SocketCAN", package: "Swift-SocketCAN"),
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxRelay", package: "RxSwift")
]),
.executableTarget(
name: "CyberGearUtils",
dependencies: [
.target(name: "CyberGearKit"),
.product(name: "ImGui", package: "SwiftImGui"),
.product(name: "AppBootstrapKit", package: "AppBootstrapKit")
]),
.testTarget(
name: "CyberGearUtilsTests",
dependencies: ["CyberGearUtils"]),
]
)