comparison config.nims @ 54:a24c6b87ae83

fix: use console for debug buids
author Sam <sam@basx.dev>
date Thu, 19 Jan 2023 22:50:32 +0700
parents 4c3891eb9ef9
children be3ab2619c33
comparison
equal deleted inserted replaced
53:4c3891eb9ef9 54:a24c6b87ae83
11 proc compilerFlags() = 11 proc compilerFlags() =
12 switch("path", "src") 12 switch("path", "src")
13 switch("mm", "orc") 13 switch("mm", "orc")
14 switch("experimental", "strictEffects") 14 switch("experimental", "strictEffects")
15 switch("threads", "on") 15 switch("threads", "on")
16 switch("app", "gui")
17 16
18 proc compilerFlagsDebug() = 17 proc compilerFlagsDebug() =
19 switch("debugger", "native") 18 switch("debugger", "native")
20 switch("checks", "on") 19 switch("checks", "on")
21 switch("assertions", "on") 20 switch("assertions", "on")
22 21
23 proc compilerFlagsRelease() = 22 proc compilerFlagsRelease() =
24 switch("define", "release") 23 switch("define", "release")
25 switch("checks", "off") 24 switch("checks", "off")
26 switch("assertions", "off") 25 switch("assertions", "off")
26 switch("app", "gui")
27 27
28 task single_linux_debug, "build linux debug": 28 task single_linux_debug, "build linux debug":
29 compilerFlags() 29 compilerFlags()
30 compilerFlagsDebug() 30 compilerFlagsDebug()
31 switch("outdir", BUILDBASE / DEBUG / LINUX) 31 switch("outdir", BUILDBASE / DEBUG / LINUX)