diff config.nims @ 485:b4a972bd37d5

did: change shader compilation to run during program compilation, maybe add dynamic version later
author Sam <sam@basx.dev>
date Wed, 11 Jan 2023 11:15:02 +0700
parents 73a0954beabd
children 94c38e4b5782
line wrap: on
line diff
--- a/config.nims	Wed Jan 11 00:43:43 2023 +0700
+++ b/config.nims	Wed Jan 11 11:15:02 2023 +0700
@@ -19,16 +19,6 @@
   switch("checks", "off")
   switch("assertions", "off")
 
-proc compilerFlagsDebugWindows() =
-  switch("cc", "vcc")
-  switch("passC", "/MDd")
-  switch("passL", "ucrtd.lib")
-
-proc compilerFlagsReleaseWindows() =
-  switch("cc", "vcc")
-  switch("passC", "/MD")
-  switch("passL", "ucrt.lib")
-
 task build_linux_debug, "build linux debug":
   compilerFlags()
   compilerFlagsDebug()
@@ -44,7 +34,6 @@
 task build_windows_debug, "build windows debug":
   compilerFlags()
   compilerFlagsDebug()
-  # compilerFlagsDebugWindows()
   switch("define", "mingw")
   buildbase.joinPath("debug/windows").mkDir()
   setCommand "c"
@@ -52,7 +41,6 @@
 task build_windows_release, "build windows release":
   compilerFlags()
   compilerFlagsRelease()
-  # compilerFlagsReleaseWindows()
   switch("define", "mingw")
   buildbase.joinPath("release/windows").mkDir()
   setCommand "c"