aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
blob: ebb41d1b7bd73636c01630f2cf2108b05e75f959 (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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
name              "sdp"
description       "sisu document parser"
homepage          "http://sisudoc.org"
authors           "Ralph Amissah"
copyright         "Copyright © 2016 Ralph Amissah"
license           "AGPL-3+"
targetPath        "./bin"
#sourcePath        "./src/sdp"
stringImportPaths "./views"
buildRequirements "allowWarnings"
dependency        "sdlang-d" version="~>0.10.0"
dependency        "archive"  version="~>0.6.0"
configuration "sdp-release" {
  name                 "release"
  targetType           "executable"
  platforms            "posix"
  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"
  targetName           "sdp-debug"
  dflags               "-g" "-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'"
}
configuration "sdp-tmp" {
  name                 "tmp"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-tmp"
  dflags               "-J=views" "-I=src/sdp"
  #lflags               "ld.gold"
  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"
  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"
  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-dmd-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd-debug"
  dflags               "-g" "-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-dmd-debug'"
}
configuration "sdp-dmd-debug-unittest" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd-debug"
  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-dmd-debug'"
}
configuration "sdp-dmd-debug-docs" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd-debug"
  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-dmd-debug'"
}
configuration "sdp-ldc" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  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-ldc-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc-debug"
  dflags               "-g" "-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-ldc-debug'"
}
configuration "sdp-ldc-debug-unittest" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc-debug"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "unittests" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'"
}
configuration "sdp-ldc-debug-docs" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc-debug"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'"
}
configuration "sdp-gdc" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "releaseMode" "optimize" "inline"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-gdc'"
}
configuration "sdp-gdc-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc-debug"
  dflags               "-O2" "-fbuiltin" "-Wall" "-Werror" "-Wformat=2" "-g" "-J=views" "-I=src/sdp"
  lflags               "-lz"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled (debug with -g) executable ready' 'sdp-gdc-debug'"
}
configuration "sdp-gdc-debug-unittest" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc-debug"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "unittests" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-gdc-debug'"
}
configuration "sdp-gdc-debug-docs" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc-debug"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-gdc-debug'"
}