-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathProject.swift
More file actions
68 lines (64 loc) · 2.23 KB
/
Project.swift
File metadata and controls
68 lines (64 loc) · 2.23 KB
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
62
63
64
65
66
67
68
import ProjectDescription
// MARK: - Constants
let destinations: Destinations = [.iPhone, .iPad, .mac, .appleVision]
// MARK: - Project
let project = Project(
name: "OpenAttributeGraph",
settings: .settings(
configurations: [
.debug(name: "Debug", xcconfig: "Configs/Common.xcconfig"),
.release(name: "Release", xcconfig: "Configs/Common.xcconfig"),
],
defaultSettings: .none
),
targets: [
.target(
name: "OpenAttributeGraph",
destinations: destinations,
product: .framework,
bundleId: "org.OpenSwiftUIProject.OpenAttributeGraph",
sources: [
"Sources/Platform/**",
"Sources/Utilities/**",
"Sources/OpenAttributeGraphCxx/**",
"Sources/OpenAttributeGraph/**",
],
headers: .headers(
project: [
"Sources/OpenAttributeGraphCxx/include/**",
"Sources/Platform/include/**",
"Sources/Utilities/include/**",
]
),
scripts: [
.pre(
path: "Scripts/Xcode/process_headers.sh",
name: "Process Headers",
inputPaths: [
"$(SRCROOT)/Scripts/Xcode/process_headers.sh",
],
inputFileListPaths: [
"Scripts/Xcode/process_headers_inputs.xcfilelist",
],
outputPaths: [],
outputFileListPaths: [
"Scripts/Xcode/process_headers_outputs.xcfilelist",
]
),
],
dependencies: [
.sdk(name: "z", type: .library),
],
settings: .settings(
base: [
"DEFINES_MODULE": "NO",
],
configurations: [
.debug(name: "Debug", xcconfig: "Configs/OpenAttributeGraph.xcconfig"),
.release(name: "Release", xcconfig: "Configs/OpenAttributeGraph.xcconfig"),
],
defaultSettings: .none
)
),
]
)