aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
blob: 28fc43bfb729840b64a80cf24b07cb659bba9dc4 (plain)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
name              "sdp"
description       "sisu document parser"
homepage          "http://sisudoc.org"
authors           "Ralph Amissah"
copyright         "Copyright © 2016 Ralph Amissah"
license           "AGPL-3+"
targetPath        "./bin"
stringImportPaths "./views"
buildRequirements "allowWarnings"
dependency        "sdlang-d" version="~>0.10.0"
configuration "sdp-release" {
  name                 "release"
  targetType           "executable"
  platforms            "posix"
  #compiler             "dmd"
  targetName           "sdp"
  dflags               "-J=views" "-I=src/sdp"
  buildOptions         "verbose" "releaseMode" "optimize" "inline"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'"
}
configuration "sdp-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  #compiler             "dmd"
  targetName           "sdp-debug"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug'"
}
configuration "sdp-tmp" {
  name                 "tmp"
  targetType           "executable"
  platforms            "posix"
  #compiler             "dmd"
  targetName           "sdp-tmp"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "tmp"
  debugVersions        "crap"
  debugVersions        "header"
  debugVersions        "header1"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-tmp'"
}
configuration "sdp-debug-clean" {
  name                 "debug-clean"
  targetType           "executable"
  platforms            "posix"
  #compiler             "dmd"
  targetName           "sdp-debug-clean"
  dflags               "-J=views" "-I=src/sdp"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-clean'"
}
configuration "sdp-dmd" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  compiler             "dmd"
  targetName           "sdp-dmd"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "releaseMode" "optimize" "inline"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'"
}
configuration "sdp-debug-dmd" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "dmd"
  targetName           "sdp-debug-dmd"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-dmd'"
}
configuration "sdp-debug-unittest-dmd" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "dmd"
  targetName           "sdp-debug-dmd"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "unittests" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-dmd'"
}
configuration "sdp-debug-docs-dmd" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "dmd"
  targetName           "sdp-debug-dmd"
  dflags               "-J=views" "-I=src/sdp"
  #lflags               "ld.gold"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-dmd'"
}
configuration "sdp-ldc" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  compiler             "ldc2"
  targetName           "sdp-ldc"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "releaseMode" "optimize" "inline"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'"
}
configuration "sdp-debug-ldc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "ldc2"
  targetName           "sdp-debug-ldc"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-ldc'"
}
configuration "sdp-debug-unittest-ldc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "ldc2"
  targetName           "sdp-debug-ldc"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "unittests" "optimize"
  debugVersions        "checkdoc" "summary"
  #debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-ldc'"
}
configuration "sdp-debug-docs-ldc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "ldc2"
  targetName           "sdp-debug-ldc"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  #debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-ldc'"
}