aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
blob: b89142704cb1e2bf8dde5be37e41234d94ecff6b (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
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          "archive"      version="~>0.6.0"      # http://code.dlang.org/packages/archive        https://github.com/rcythr/archive
dependency          "d2sqlite3"    version="~>0.16.2"     # https://code.dlang.org/packages/d2sqlite3     http://biozic.github.io/d2sqlite3/d2sqlite3.html
  subconfiguration  "d2sqlite3"   "all-included"
dependency          "imageformats" version="~>7.0.0"      # https://code.dlang.org/packages/imageformats  https://github.com/lgvz/imageformats
dependency          "toml"         version="~>1.0.0-rc.3" # https://code.dlang.org/packages/toml          https://github.com/toml-lang/toml/wiki
dependency          "toml:json"    version="~>1.0.0-rc.3"
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-dmd" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "inline" # "optimize" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'"
}
configuration "sdp-dmd-version" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd-ver"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "sdp-dmd-release" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-dmd"
  dflags               "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  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-ldc" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'"
}
configuration "sdp-ldc-version" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc-ver"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "sdp-ldc-release" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-ldc"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  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-gdc" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-gdc'"
}
configuration "sdp-gdc-version" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc-ver"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "sdp-gdc-release" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "sdp-gdc"
  dflags               "-O2" "-J=views" "-I=src/sdp"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  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'"
}