diff semiconginev2/core/buildconfig.nim @ 1223:55896320c8bf compiletime-tests

fix: references to new package not updated
author sam <sam@basx.dev>
date Wed, 17 Jul 2024 21:13:54 +0700
parents 56781cc0fc7c
children c8e3037aca66
line wrap: on
line diff
--- a/semiconginev2/core/buildconfig.nim	Wed Jul 17 21:08:15 2024 +0700
+++ b/semiconginev2/core/buildconfig.nim	Wed Jul 17 21:13:54 2024 +0700
@@ -1,14 +1,7 @@
-const ENGINENAME = "semicongine"
+const ENGINENAME = "semiconginev2"
 
 # checks required build options:
 static:
-  assert compileOption("threads"), ENGINENAME & " requires --threads=on"
-  assert defined(nimPreviewHashRef), ENGINENAME & " requires -d:nimPreviewHashRef"
-
-  if defined(release) or defined(windows):
-    assert compileOption("app", "gui"), ENGINENAME & " requires --app=gui for release builds and all windows builds"
-
-
   if defined(linux):
     assert defined(VK_USE_PLATFORM_XLIB_KHR), ENGINENAME & " requires --d:VK_USE_PLATFORM_XLIB_KHR for linux builds"
   elif defined(windows):