From 3d46fa05cc377c715d3b390eb2a8400e04b40d92 Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Fri, 19 Jul 2024 23:18:15 +0200 Subject: [PATCH] fixed build flags --- absytree.nimble | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/absytree.nimble b/absytree.nimble index 3cc57cda..25527e51 100644 --- a/absytree.nimble +++ b/absytree.nimble @@ -87,9 +87,9 @@ proc getCommandLineParams(): string = return commandLineParams[3..^1].join(" ") task buildDesktop, "Build the desktop version": - selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi --passC:-std=gnu11 {getCommandLineParams()} ./src/absytree.nim" - # selfExec fmt"c --passL:advapi32.lib -o:ast{exe} -d:exposeScriptingApi {getCommandLineParams()} ./src/absytree.nim" - # selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi --objChecks:off --fieldChecks:off --rangeChecks:off --boundChecks:off --overflowChecks:off --floatChecks:off --nanChecks:off --infChecks:off {getCommandLineParams()} ./src/absytree.nim" + selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi -d:nimWasmtimeBuild --passC:-std=gnu11 {getCommandLineParams()} ./src/absytree.nim" + # selfExec fmt"c --passL:advapi32.lib -o:ast{exe} -d:exposeScriptingApi -d:nimWasmtimeBuild {getCommandLineParams()} ./src/absytree.nim" + # selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi -d:nimWasmtimeBuild --objChecks:off --fieldChecks:off --rangeChecks:off --boundChecks:off --overflowChecks:off --floatChecks:off --nanChecks:off --infChecks:off {getCommandLineParams()} ./src/absytree.nim" task buildTerminal, "Build the terminal version": selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi -d:nimWasmtimeBuild -d:enableTerminal -d:enableGui=false --passC:-std=gnu11 {getCommandLineParams()} ./src/absytree.nim"