forked from PreternaturalAI/Sideproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
108 lines (106 loc) · 3.32 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// swift-tools-version:5.10
import CompilerPluginSupport
import PackageDescription
let package = Package(
name: "Sideproject",
platforms: [
.iOS(.v17),
.macOS(.v14),
.tvOS(.v17),
.watchOS(.v10)
],
products: [
.library(
name: "Sideproject",
targets: [
"Cataphyl",
"Sideproject",
// "_USearchObjective",
// "_USearch",
]
)
],
dependencies: [
.package(url: "https://github.com/PreternaturalAI/AI.git", branch: "main"),
.package(url: "https://github.com/PreternaturalAI/ChatKit.git", branch: "main"),
.package(url: "https://github.com/SwiftUIX/SwiftUIX.git", branch: "master"),
.package(url: "https://github.com/SwiftUIX/SwiftUIZ.git", branch: "main"),
.package(url: "https://github.com/vmanot/BrowserKit.git", branch: "main"),
.package(url: "https://github.com/vmanot/CorePersistence.git", branch: "main"),
.package(url: "https://github.com/vmanot/Merge.git", branch: "master"),
.package(url: "https://github.com/vmanot/NetworkKit.git", branch: "master"),
.package(url: "https://github.com/vmanot/Swallow.git", branch: "master"),
],
targets: [
.macro(
name: "SideprojectMacros",
dependencies: [
.product(name: "MacroBuilder", package: "Swallow"),
],
path: "Sources/SideprojectMacros"
),
/*.target(
name: "_USearchObjective",
path: "Sources/_USearch/objc",
sources: ["USearchObjective.mm"],
cxxSettings: [
.headerSearchPath("../include/"),
.headerSearchPath("../fp16/include/"),
]
),
.target(
name: "_USearch",
dependencies: [
"_USearchObjective"
],
path: "Sources/_USearch/swift",
exclude: [],
sources: ["USearch.swift", "Index+Sugar.swift"],
cxxSettings: [
.headerSearchPath("./include/"),
]
),*/
.target(
name: "Cataphyl",
dependencies: [
"AI",
"CorePersistence",
"Swallow",
//"_USearch",
],
path: "Sources/Cataphyl",
resources: [],
swiftSettings: [
.enableExperimentalFeature("AccessLevelOnImport")
]
),
.target(
name: "Sideproject",
dependencies: [
"AI",
"BrowserKit",
"Cataphyl",
"ChatKit",
"CorePersistence",
"Merge",
"NetworkKit",
"Swallow",
"SwiftUIX",
"SwiftUIZ",
],
path: "Sources/Sideproject",
resources: [.process("Resources")],
swiftSettings: [
.enableExperimentalFeature("AccessLevelOnImport")
]
),
.testTarget(
name: "SideprojectTests",
dependencies: [
"Sideproject"
],
path: "Tests/Sideproject"
),
]/*,
cxxLanguageStandard: CXXLanguageStandard.cxx11*/
)