-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdub.sdl
62 lines (43 loc) · 1.32 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name "automem"
authors "Atila Neves"
description "Automatic memory management"
license "BSD 3-clause"
targetType "library"
targetPath "bin"
configuration "library" {
}
configuration "unittest" {
targetType "executable"
targetName "ut"
importPaths "tests"
sourcePaths "tests"
mainSourceFile "tests/ut_main.d"
dflags "-preview=dip1000" "-preview=dip1008"
versions "AutomemTesting"
dependency "unit-threaded" version="*"
dependency "test_allocator" version="*"
}
configuration "asan" {
targetType "executable"
targetName "asan"
importPaths "tests"
sourcePaths "tests"
mainSourceFile "tests/ut_main.d"
# -preview=dip1008 causes asan issues with malloc
dflags "-preview=dip1000"
dflags "-fsanitize=address" platform="ldc"
// unit threaded light is necessary for the tests to actually run
versions "AutomemTesting" "AutomemAsan" "unitUnthreaded" "unitThreadedLight"
dependency "unit-threaded" version="*"
dependency "test_allocator" version="*"
}
configuration "utl" {
targetType "executable"
targetName "utl"
importPaths "tests"
sourcePaths "tests"
dflags "-preview=dip1000" "-preview=dip1008"
versions "AutomemTesting" "unitThreadedLight"
dependency "unit-threaded" version="*"
dependency "test_allocator" version="*"
}