-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
31 lines (29 loc) · 1.19 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
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Numerix",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17), .watchOS(.v10), .visionOS(.v1)],
products: [
.library(name: "Numerix", targets: ["Numerix"])
],
targets: [
.target(
name: "Numerix",
dependencies: ["VectorModule", "MatrixModule"],
cxxSettings: [.define("ACCELERATE_NEW_LAPACK", to: "1"), .define("ACCELERATE_LAPACK_ILP64", to: "1")],
linkerSettings: [.linkedFramework("Accelerate")]
),
.target(
name: "VectorModule",
cxxSettings: [.define("ACCELERATE_NEW_LAPACK", to: "1"), .define("ACCELERATE_LAPACK_ILP64", to: "1")],
linkerSettings: [.linkedFramework("Accelerate")]
),
.target(
name: "MatrixModule",
cxxSettings: [.define("ACCELERATE_NEW_LAPACK", to: "1"), .define("ACCELERATE_LAPACK_ILP64", to: "1")],
linkerSettings: [.linkedFramework("Accelerate")]
),
.testTarget(name: "Tests", dependencies: ["Numerix"])
]
)