diff config.nims @ 383:8e926856a9ce

fix: old settings
author Sam <sam@basx.dev>
date Sat, 02 Dec 2023 22:26:45 +0700
parents ad2a7586f625
children 1ab09f8cc68d
line wrap: on
line diff
--- a/config.nims	Sat Dec 02 22:26:26 2023 +0700
+++ b/config.nims	Sat Dec 02 22:26:45 2023 +0700
@@ -11,13 +11,14 @@
 const BUNDLETYPE* {.strdefine.}: string = "dir" # dir, zip, exe
 const RESOURCEROOT* {.strdefine.}: string = "resources"
 
+switch("d", "nimPreviewHashRef")
+switch("experimental", "strictEffects")
+switch("experimental", "strictFuncs")
+switch("nimblePath", "nimbledeps/pkgs2")
+
 task build, "build":
   switch("d", "BUNDLETYPE=" & BUNDLETYPE)
   switch("d", "RESOURCEROOT=" & RESOURCEROOT)
-  switch("d", "nimPreviewHashRef")
-  switch("experimental", "strictEffects")
-  switch("experimental", "strictFuncs")
-  switch("nimblePath", "nimbledeps/pkgs2")
   var buildType = DEBUG
   var platformDir = ""
   if defined(linux):
@@ -123,7 +124,6 @@
   cpDir "src/vulkan_api/output/platform", "src/semicongine/vulkan/platform"
 
 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]:
-  --path:src
   if defined(linux):
     --d:VK_USE_PLATFORM_XLIB_KHR
   if defined(windows):