aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
diff options
context:
space:
mode:
Diffstat (limited to 'dub.sdl')
-rw-r--r--dub.sdl65
1 files changed, 65 insertions, 0 deletions
diff --git a/dub.sdl b/dub.sdl
new file mode 100644
index 0000000..1af641b
--- /dev/null
+++ b/dub.sdl
@@ -0,0 +1,65 @@
+name "sdp"
+description "sisu document parser."
+homepage "http://sisudoc.org"
+authors "Ralph Amissah"
+copyright "©2016 Ralph Amissah"
+license "AGPL-3+"
+targetPath "./bin"
+sourcePath "./src"
+stringImportPaths "./views"
+buildRequirements "disallowDeprecations"
+configuration "sdp-release" {
+ name "release"
+ targetType "executable"
+ platforms "posix"
+ targetName "sdp"
+ buildOptions "releaseMode" "optimize" "inline"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'"
+}
+configuration "sdp-dmd" {
+ name "dmd"
+ targetType "executable"
+ platforms "posix"
+ #compiler "dmd"
+ targetName "sdp-dmd"
+ buildOptions "releaseMode" "optimize" "inline"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'"
+}
+configuration "sdp-ldc" {
+ name "ldc"
+ targetType "executable"
+ platforms "posix"
+ #compiler "ldc2"
+ targetName "sdp-ldc"
+ buildOptions "releaseMode" "optimize" "inline"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'"
+}
+configuration "sdp-debug" {
+ name "debuging"
+ targetType "executable"
+ platforms "posix"
+ targetName "sdp-debug"
+ debugVersions "checkdoc"
+ debugVersions "summary"
+ debugVersions "dumpdoc"
+ buildOptions "debugMode" "debugInfo" "optimize"
+ 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"
+ debugVersions "tmp"
+ debugVersions "crap"
+ buildOptions "debugMode" "debugInfo" "optimize"
+ 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"
+ buildOptions "debugMode" "debugInfo" "optimize"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-clean'"
+}