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 "toml" version="~>0.4.0-rc.2" # https://code.dlang.org/packages/toml https://github.com/toml-lang/toml/wiki dependency "toml:json" version="~>0.4.0-rc.2" dependency "d2sqlite3" version="~>0.16.1" # https://code.dlang.org/packages/d2sqlite3 http://biozic.github.io/d2sqlite3/d2sqlite3.html subconfiguration "d2sqlite3" "all-included" dependency "archive" version="~>0.6.0" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive configuration "reggae" { name "build" targetType "executable" platforms "posix" targetName "bin/sdp-rg" dflags "-J=views" "-I=src/sdp" buildOptions "verbose" "releaseMode" "optimize" "inline" postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp-rg'" } 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'" }