Skip to content

Commit

Permalink
fixed build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Jul 19, 2024
1 parent 0f5e519 commit 3d46fa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions absytree.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3d46fa0

Please sign in to comment.