Add feature flag capability
This commit is contained in:
parent
6130c04bd8
commit
1b63a125c5
4 changed files with 22 additions and 8 deletions
|
|
@ -9,4 +9,11 @@ when defined(Windows):
|
|||
switch("gc", "markAndSweep")
|
||||
|
||||
# Retain stackTrace for clear errors
|
||||
switch("stackTrace", "on")
|
||||
switch("stackTrace", "on")
|
||||
|
||||
# Path to compiler
|
||||
switch("path", "$nim")
|
||||
|
||||
# Case objects
|
||||
when not defined(danger):
|
||||
switch("define", "nimOldCaseObjects")
|
||||
Loading…
Add table
Add a link
Reference in a new issue