-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdub.sdl
38 lines (32 loc) · 850 Bytes
/
dub.sdl
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
36
37
38
name "wasm3-d"
version "0.1.0"
description "D binding for Wasm3"
authors "Matheus Catarino França"
license "MIT"
sourcePaths "source"
targetType "sourceLibrary"
buildType "debug" {
buildOptions "debugMode" "debugInfo"
}
buildType "unittest" {
buildOptions "debugMode" "debugInfo" "unittests"
}
buildType "release" {
buildOptions "releaseMode" "inline" "optimize"
}
buildType "release-nobounds" {
buildOptions "releaseMode" "inline" "noBoundsCheck" "optimize"
}
buildType "release-debug" {
buildOptions "releaseMode" "debugInfo" "inline" "optimize"
}
subPackage {
name "fib32"
targetType "executable"
targetPath "build"
sourceFiles "examples/fib32.d"
libs "m3"
lflags "-Lzig-out/lib" platform="posix"
lflags "/LIBPATH:zig-out/lib" platform="windows"
preBuildCommands "zig build -Dartifact"
}