-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (34 loc) · 1.25 KB
/
Package.swift
File metadata and controls
35 lines (34 loc) · 1.25 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
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "Cadova",
platforms: [.macOS(.v14)],
products: [
.library(name: "Cadova", targets: ["Cadova"]),
],
dependencies: [
.package(url: "https://github.com/tomasf/manifold-swift.git", from: "1.0.0"),
.package(url: "https://github.com/tomasf/ThreeMF.git", .upToNextMinor(from: "0.2.3")),
.package(url: "https://github.com/tomasf/Apus.git", .upToNextMinor(from: "0.1.1")),
.package(url: "https://github.com/tomasf/Pelagos.git", .upToNextMinor(from: "0.1.3")),
],
targets: [
.target(
name: "Cadova",
dependencies: [
.product(name: "Apus", package: "Apus"),
.product(name: "Manifold", package: "manifold-swift"),
.product(name: "ThreeMF", package: "ThreeMF"),
.product(name: "Pelagos", package: "Pelagos")
],
swiftSettings: [ .interoperabilityMode(.Cxx) ]
),
.testTarget(
name: "Tests",
dependencies: ["Cadova"],
resources: [.copy("golden"), .copy("resources")],
swiftSettings: [ .interoperabilityMode(.Cxx) ]
)
],
cxxLanguageStandard: .cxx17
)