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"
stringImportPaths "./views"
buildRequirements "allowWarnings"
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-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"
  debugVersions   "header"
  debugVersions   "header1"
  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'"
}
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-debug-dmd" {
  name            "debuging"
  targetType      "executable"
  platforms       "posix"
  targetName      "sdp-debug-dmd"
  debugVersions   "checkdoc"
  debugVersions   "summary"
  debugVersions   "dumpdoc"
  buildOptions    "debugMode" "debugInfo" "optimize"
  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"
  buildOptions    "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"
  targetName      "sdp-debug-ldc"
  debugVersions   "checkdoc"
  debugVersions   "summary"
  #debugVersions   "dumpdoc"
  #debugVersions   "bookindex"
  #debugVersions   "biblio"
  buildOptions    "debugMode" "debugInfo" "optimize"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-ldc'"
}