From 30865cf1a75a144629c6029ac55fbc744e330adf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 8 Aug 2017 12:10:22 -0400 Subject: maker.org makefile supported compilers, make all_builds_debug - dmd ldc2 gdc --- dub.sdl | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 66 insertions(+), 17 deletions(-) (limited to 'dub.sdl') diff --git a/dub.sdl b/dub.sdl index ebb41d1..428140b 100644 --- a/dub.sdl +++ b/dub.sdl @@ -32,22 +32,6 @@ configuration "sdp-debug" { debugVersions "dumpdoc" 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" - dflags "-J=views" "-I=src/sdp" - #lflags "ld.gold" - 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" @@ -67,6 +51,16 @@ configuration "sdp-dmd" { buildOptions "verbose" "releaseMode" "optimize" "inline" 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" "releaseMode" "optimize" "inline" + postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-[version]-dmd'" +} configuration "sdp-dmd-debug" { name "debuging" targetType "executable" @@ -79,6 +73,18 @@ configuration "sdp-dmd-debug" { debugVersions "dumpdoc" postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-dmd-debug'" } +configuration "sdp-dmd-debug-version" { + name "debuging" + targetType "executable" + platforms "posix" + targetName "sdp-dmd-debug-ver" + 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-[version]-dmd-debug'" +} configuration "sdp-dmd-debug-unittest" { name "debuging" targetType "executable" @@ -109,11 +115,21 @@ configuration "sdp-ldc" { targetType "executable" platforms "posix" targetName "sdp-ldc" - dflags "-J=views" "-I=src/sdp" + dflags "-O2" "-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-ldc-version" { + name "ldc" + targetType "executable" + platforms "posix" + targetName "sdp-ldc-ver" + dflags "-O2" "-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-[version]-ldc'" +} configuration "sdp-ldc-debug" { name "debuging" targetType "executable" @@ -125,6 +141,17 @@ configuration "sdp-ldc-debug" { debugVersions "checkdoc" "summary" postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'" } +configuration "sdp-ldc-debug-version" { + name "debuging" + targetType "executable" + platforms "posix" + targetName "sdp-ldc-debug-ver" + 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-[version]-ldc-debug'" +} configuration "sdp-ldc-debug-unittest" { name "debuging" targetType "executable" @@ -158,6 +185,17 @@ configuration "sdp-gdc" { buildOptions "verbose" "releaseMode" "optimize" "inline" 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" "releaseMode" "optimize" "inline" + postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-[version]-gdc'" +} configuration "sdp-gdc-debug" { name "debuging" targetType "executable" @@ -169,6 +207,17 @@ configuration "sdp-gdc-debug" { debugVersions "checkdoc" "summary" postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled (debug with -g) executable ready' 'sdp-gdc-debug'" } +configuration "sdp-gdc-debug-version" { + name "debuging" + targetType "executable" + platforms "posix" + targetName "sdp-gdc-debug-ver" + 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'" +} configuration "sdp-gdc-debug-unittest" { name "debuging" targetType "executable" -- cgit v1.2.3