-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdub.sdl
43 lines (30 loc) · 921 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
39
40
41
42
43
name "tardy"
description "Runtime polymorphism"
authors "Atila Neves"
copyright "Copyright © 2020, Atila Neves"
license "boost"
targetPath "bin"
toolchainRequirements dmd=">=2.091.1" gdc="no" ldc=">=1.21.0"
configuration "default" {
}
configuration "unittest" {
targetType "executable"
mainSourceFile "tests/main.d"
sourcePaths "tests"
importPaths "tests"
dflags "-checkaction=context" "-preview=in" "-preview=dip1008"
dependency "unit-threaded" version="*"
versions "unitUnthreaded" "TardyTest"
}
configuration "asan" {
targetType "executable"
targetName "asan"
mainSourceFile "tests/main.d"
sourcePaths "tests"
importPaths "tests"
# -dip1008 causes asan issues with malloc
dflags "-checkaction=context"
dflags "-fsanitize=address" platform="ldc"
dependency "unit-threaded" version="*"
versions "unitUnthreaded" "nodip1008" "TardyTest"
}