项目文件夹

文件
wehub-resource-sync 770d92cb1f
Build Docs / Deploy Docs (push) Has been cancelled
Lint / lint (push) Has been cancelled
Windows CI / Windows (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:23:58 +08:00

33 行
913 B
Swift

// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MLCSwift",
products: [
.library(
name: "MLCSwift",
targets: ["MLCEngineObjC", "MLCSwift"]
)
],
dependencies: [],
targets: [
.target(
name: "MLCEngineObjC",
path: "Sources/ObjC",
cxxSettings: [
.headerSearchPath("../../tvm_home/include"),
.headerSearchPath("../../tvm_home/3rdparty/tvm-ffi/include"),
.headerSearchPath("../../tvm_home/3rdparty/tvm-ffi/3rdparty/dlpack/include")
]
),
.target(
name: "MLCSwift",
dependencies: ["MLCEngineObjC"],
path: "Sources/Swift"
)
],
cxxLanguageStandard: .cxx17
)