-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathPackage.swift
More file actions
33 lines (32 loc) · 830 Bytes
/
Package.swift
File metadata and controls
33 lines (32 loc) · 830 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
29
30
31
32
33
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "CWasm3",
products: [
.library(
name: "CWasm3",
targets: ["CWasm3"]
),
],
dependencies: [],
targets: [
.target(
name: "CWasm3",
cSettings: [
.define("APPLICATION_EXTENSION_API_ONLY", to: "YES"),
.define("d_m3MaxDuplicateFunctionImpl", to: "10"),
]
),
.testTarget(
name: "CWasm3Tests",
dependencies: ["CWasm3"],
exclude: [
"Resources/add.wat",
"Resources/constant.wat",
"Resources/fib64.wat",
"Resources/imported-add.wat",
"Resources/memory.wat",
]
),
]
)