-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdub.sdl
36 lines (36 loc) · 1.16 KB
/
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
name "paka"
description "paka-remix"
authors "Shaw Summa"
copyright "Copyright © 2022, Shaw Summa"
license "MIT"
buildType "debug" {
dflags "-g"
preGenerateCommands "pwd; make -C minivm -Bj bin/libminivm.a OPT='-g3'"
}
buildType "tsan" {
dflags "-g" "-fsanitize=thread"
preGenerateCommands "make -C minivm -Bj bin/libminivm.a OPT='-g3 -fsanitize=thread -fno-sanitize=leak'"
}
buildType "asan" {
dflags "-g" "-fsanitize=address"
preGenerateCommands "make -C minivm -Bj bin/libminivm.a OPT='-g3 -fsanitize=address -fno-sanitize=leak'"
}
buildType "ubsan" {
dflags "-g"
lflags "-lubsan"
preGenerateCommands "make -C minivm -Bj bin/libminivm.a OPT='-g3 -fsanitize=address -fno-sanitize=leak'"
}
buildType "asan-ubsan" {
dflags "-g" "-fsanitize=address"
lflags "-lubsan"
preGenerateCommands "make -C minivm -Bj bin/libminivm.a OPT='-g3 -fsanitize=address -fno-sanitize=leak'"
}
buildType "release" {
preGenerateCommands "make -C minivm -Bj bin/libminivm.a OPT='-O3 -ffast-math -fomit-frame-pointer'"
dflags:ldc "-release"
dflags:gdc "-frelease"
}
dependency "raylib-d" version="4.2.0"
lflags "minivm/bin/libminivm.a" "-l:libraylib.a"
sourcePaths "src"
stringImportPaths "src"