Mercurial > games > semicongine
comparison config.nims @ 273:93becb68cb7a
fix: change due to build-configuration change
| author | Sam <sam@basx.dev> | 
|---|---|
| date | Tue, 30 May 2023 16:59:25 +0700 | 
| parents | f31d848ab551 | 
| children | b145a05c2459 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 272:bfcb41211c5b | 273:93becb68cb7a | 
|---|---|
| 10 | 10 | 
| 11 const BUNDLETYPE* {.strdefine.}: string = "dir" # dir, zip, exe | 11 const BUNDLETYPE* {.strdefine.}: string = "dir" # dir, zip, exe | 
| 12 const RESOURCEROOT* {.strdefine.}: string = "resources" | 12 const RESOURCEROOT* {.strdefine.}: string = "resources" | 
| 13 | 13 | 
| 14 task build, "build": | 14 task build, "build": | 
| 15 switch("path", "src") | 15 switch("d", "BUNDLETYPE=" & BUNDLETYPE) | 
| 16 switch("d", "RESOURCEROOT=" & RESOURCEROOT) | |
| 16 switch("mm", "orc") | 17 switch("mm", "orc") | 
| 17 switch("experimental", "strictEffects") | 18 switch("experimental", "strictEffects") | 
| 18 switch("threads", "on") | 19 switch("threads", "on") | 
| 19 var buildType = DEBUG | 20 var buildType = DEBUG | 
| 20 var platformDir = "" | 21 var platformDir = "" | 
