-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdub.sdl
82 lines (61 loc) · 1.81 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name "dpp"
description "Include C/C++ headers directly in D files"
authors "Atila Neves"
copyright "Copyright © 2017-2018, Atila Neves"
license "boost"
targetType "executable"
targetPath "bin"
targetName "d++"
dependency "libclang" version="~>0.3.1"
versions "SumTypeNoDefaultCtor"
buildType "release" {
buildOptions "releaseMode" "optimize" "inline" "debugInfo"
}
buildType "profilec" {
buildOptions "profile" "releaseMode" "optimize" "inline" "debugInfo"
}
buildType "profile-gc" {
buildOptions "profileGC" "releaseMode" "optimize" "inline" "debugInfo"
}
configuration "executable" {
dflags "-dip1000"
mainSourceFile "source/main.d"
}
configuration "library" {
targetType "library"
targetName "dpp"
excludedSourceFiles "source/main.d"
}
configuration "unittest" {
targetName "all_tests"
mainSourceFile "tests/test_main.d"
sourcePaths "tests"
importPaths "tests"
excludedSourceFiles "source/main.d" "tests/contract/main.d" "tests/it/main.d"
dependency "unit-threaded" version="*"
}
configuration "integration" {
targetName "it"
mainSourceFile "tests/it/main.d"
sourcePaths "tests/it" "tests/common"
importPaths "tests"
excludedSourceFiles "source/main.d"
dependency "unit-threaded" version="*"
}
configuration "contract" {
targetName "ct"
mainSourceFile "tests/contract/main.d"
sourcePaths "tests/contract" "tests/common"
importPaths "tests"
excludedSourceFiles "source/main.d"
dependency "unit-threaded" version="*"
}
configuration "dpp2" {
targetName "dpp2"
mainSourceFile "tests/test_main.d"
sourcePaths "dpp2/source" "dpp2/tests" "tests"
importPaths "dpp2/source" "dpp2/tests" "tests"
excludedSourceFiles "source/main.d" "tests/ut/package.d"
dependency "unit-threaded" version="*"
versions "dpp2"
}