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'"
}
configuration "sdp-gdc" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  compiler             "gdc"
  targetName           "sdp-gdc"
  dflags               "-J=views" "-I=src/sdp"
  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-debug-gdc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "gdc"
  targetName           "sdp-debug-gdc"
  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-gdc'"
}
configuration "sdp-debug-unittest-gdc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "gdc"
  targetName           "sdp-debug-gdc"
  dflags               "-J=views" "-I=src/sdp" "-Dddocs"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "unittests" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-gdc'"
}
configuration "sdp-debug-docs-gdc" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  compiler             "gdc"
  targetName           "sdp-debug-gdc"
  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-debug-gdc'"
}