# HG changeset patch # User sam # Date 1712638121 -25200 # Node ID 5f4ff2e9d5c486dbb0994f5ba707b315841f096d # Parent 6b6987c25b8335d4f761355500a3559c8f45365b add: sqlite dll for windows builds diff -r 6b6987c25b83 -r 5f4ff2e9d5c4 libs/sqlite3.dll Binary file libs/sqlite3.dll has changed diff -r 6b6987c25b83 -r 5f4ff2e9d5c4 semicongine/build.nim --- a/semicongine/build.nim Sun Apr 07 23:36:24 2024 +0700 +++ b/semicongine/build.nim Tue Apr 09 11:48:41 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))