name                "doc-reform"
description         "sisu document parser"
homepage            "http://sisudoc.org"
authors             "Ralph Amissah"
copyright           "Copyright © 2016 Ralph Amissah"
license             "AGPL-3+"
targetPath          "./bin"
#sourcePath          "./src/doc_reform"
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 "doc-reform-release" {
  name                 "release"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform"
  dflags               "-J=views" "-I=src/doc_reform"
  buildOptions         "verbose" "releaseMode" "optimize" "inline"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'doc-reform'"
}
configuration "doc-reform-dmd" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-dmd"
  dflags               "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "inline" # "optimize" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'doc-reform-dmd'"
}
configuration "doc-reform-dmd-version" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-dmd-ver"
  dflags               "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "doc-reform-dmd-release" {
  name                 "dmd"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-dmd"
  dflags               "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'doc-reform-dmd'"
}
configuration "doc-reform-dmd-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-dmd-debug"
  dflags               "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  debugVersions        "dumpdoc"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'doc-reform-dmd-debug'"
}
configuration "doc-reform-ldc" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-ldc"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'doc-reform-ldc'"
}
configuration "doc-reform-ldc-version" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-ldc-ver"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "doc-reform-ldc-release" {
  name                 "ldc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-ldc"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'doc-reform-ldc'"
}
configuration "doc-reform-ldc-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-ldc-debug"
  dflags               "-J=views" "-I=src/doc_reform"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "debugMode" "debugInfo" "optimize"
  debugVersions        "checkdoc" "summary"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'doc-reform-ldc-debug'"
}
configuration "doc-reform-gdc" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-gdc"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "optimize" "inline" # "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'doc-reform-gdc'"
}
configuration "doc-reform-gdc-version" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-gdc-ver"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" # "releaseMode"
}
configuration "doc-reform-gdc-release" {
  name                 "gdc"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-gdc"
  dflags               "-O2" "-J=views" "-I=src/doc_reform"
  lflags               "-lz"
  buildRequirements    "allowWarnings"
  buildOptions         "verbose" "optimize" "inline" "releaseMode"
  postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'doc-reform-gdc'"
}
configuration "doc-reform-gdc-debug" {
  name                 "debuging"
  targetType           "executable"
  platforms            "posix"
  targetName           "doc-reform-gdc-debug"
  dflags               "-O2" "-fbuiltin" "-Wall" "-Werror" "-Wformat=2" "-g" "-J=views" "-I=src/doc_reform"
  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' 'doc-reform-gdc-debug'"
}