diff 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
line wrap: on
line diff
--- a/config.nims	Thu Jan 19 22:49:12 2023 +0700
+++ b/config.nims	Thu Jan 19 22:50:32 2023 +0700
@@ -13,7 +13,6 @@
   switch("mm", "orc")
   switch("experimental", "strictEffects")
   switch("threads", "on")
-  switch("app", "gui")
 
 proc compilerFlagsDebug() =
   switch("debugger", "native")
@@ -24,6 +23,7 @@
   switch("define", "release")
   switch("checks", "off")
   switch("assertions", "off")
+  switch("app", "gui")
 
 task single_linux_debug, "build linux debug":
   compilerFlags()