-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (25 loc) · 879 Bytes
/
Package.swift
File metadata and controls
28 lines (25 loc) · 879 Bytes
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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "libluajit",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)],
products: [
.library(name: "Libluajit", targets: ["_Libluajit"]),
],
targets: [
// Need a dummy target to embedded correctly.
// https://github.com/apple/swift-package-manager/issues/6069
.target(
name: "_Libluajit",
dependencies: ["Libluajit"],
path: "Sources/_Dummy"
),
//AUTO_GENERATE_TARGETS_BEGIN//
.binaryTarget(
name: "Libluajit",
url: "https://github.com/mpvkit/libluajit-build/releases/download/2.1.0-xcode/Libluajit.xcframework.zip",
checksum: "8e76f267ee100ff5f3bbde7641b2240566df722241cdf8e135be7ef3d29e237a"
),
//AUTO_GENERATE_TARGETS_END//
]
)