From d38749c4650d7b6f28f7a2de723d2daf481d37af Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Sat, 26 Mar 2016 05:11:59 +0100 Subject: [PATCH] Some experiments with build types And also the result of the desperate attempt to get GDC to link asgen with libcurl... --- dub.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dub.json b/dub.json index 3ea3f61..d6898e0 100644 --- a/dub.json +++ b/dub.json @@ -8,6 +8,16 @@ "mustache-d": "~>0.1.1" }, + "buildTypes": { + "debug": { + "buildOptions": ["debugMode", "debugInfo", "optimize"], + "dflags": ["-Wall", "-Werror"] + }, + "debug-profile": { + "buildOptions": ["debugMode", "debugInfo", "profile"] + } + }, + "targetPath": "build", "targetType": "executable", "buildRequirements": ["disallowDeprecations"], @@ -15,5 +25,5 @@ "x-importPaths": ["build/bindings"], "systemDependencies": "LMDB, AppStream, GLib2, GIO, GObject, libarchive, GDLib, LibRSVG2", - "libs": ["lmdb", "glib-2.0", "gobject-2.0", "gio-2.0", "appstream", "archive", "gdlib", "librsvg-2.0"] + "libs": ["lmdb", "archive", "glib-2.0", "gobject-2.0", "gio-2.0", "appstream", "gdlib", "librsvg-2.0"] }