This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
61 lines (59 loc) · 2.04 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "awc",
products: [
.executable(name: "awc", targets: ["awc"]),
.library(name: "Libawc", targets: ["Libawc"]),
.library(name: "Wlroots", type: .dynamic, targets: ["Wlroots"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/typelift/SwiftCheck.git", from: "0.12.0")
],
targets: [
.target(name: "Cairo", dependencies: ["CCairo"]),
.target(name: "Wlroots"),
.target(name: "Libawc", dependencies: ["awc_config", "Wlroots"]),
.systemLibrary(name: "awc_config"),
.systemLibrary(name: "CCairo"),
.systemLibrary(name: "Drm"),
.systemLibrary(name: "Gles2ext"),
.systemLibrary(name: "Gles32"),
.target(
name: "awc",
dependencies: [
"awc_config",
"Cairo",
"Drm",
"Gles2ext",
"Gles32",
"Libawc",
"Wlroots",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log")
]),
.target(
name: "LayoutVisualizer",
dependencies: [
"CCairo",
"Libawc",
]
),
.testTarget(
name: "awcTests",
dependencies: ["awc"],
resources: [
.copy("Fixtures")
]),
.testTarget(
name: "awcConfigTests",
dependencies: ["awc_config", "Libawc", "SwiftCheck"],
resources: [
.copy("Fixtures")
]),
.testTarget(name: "testHelpers", dependencies: ["awc_config"]),
]
)