From b9e341dfc1a3934e78433a42631939bc965e3cce Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Fri, 6 Dec 2024 02:41:51 +0300 Subject: [PATCH] Added build options --- dub.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/dub.json b/dub.json index 6a166c5..a94e40e 100644 --- a/dub.json +++ b/dub.json @@ -18,5 +18,20 @@ ], "preBuildCommands": [ "./install-debian-dependencies.sh" - ] + ], + "buildTypes": { + "debug": { + "buildOptions": [ + "debugMode", + "debugInfo" + ] + }, + "release": { + "buildOptions": [ + "releaseMode", + "inline", + "optimize" + ] + } + } }