changeset 1103:b6a00d7171fb

merge
author sam <sam@basx.dev>
date Tue, 09 Apr 2024 23:57:57 +0700
parents be3c8b050835 (current diff) 5f4ff2e9d5c4 (diff)
children ed79529e70a3
files
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file libs/sqlite3.dll has changed
--- a/semicongine/build.nim	Tue Apr 09 23:57:13 2024 +0700
+++ b/semicongine/build.nim	Tue Apr 09 23:57:57 2024 +0700
@@ -18,6 +18,7 @@
   STEAMLIB = currentSourcePath().parentDir().parentDir().joinPath("libs/steam_api.dll")
 else:
   raise newException(Exception, "Unsupported platform")
+let SQLITELIB = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3.dll")
 
 proc semicongine_builddir*(buildname: string, builddir = "./build"): string =
   var platformDir = "unkown"
@@ -73,6 +74,8 @@
           raise newException(Exception, "Unsupported platform")
   elif bundleType == "exe":
     switch("define", "BUILD_RESOURCEROOT=" & joinPath(getCurrentDir(), resourceRoot)) # required for in-exe packing of resources, must be absolute
+  if defined(windows):
+    SQLITELIB.cpFile(outdir.joinPath(SQLITELIB.extractFilename))
   if withSteam:
     STEAMLIB.cpFile(outdir.joinPath(STEAMLIB.extractFilename))