# HG changeset patch # User sam # Date 1712681877 -25200 # Node ID d19400daf303f730185e621f2b5b00aa371ee018 # Parent f9b82b0740cb517c384716180f4c578750726a00# Parent cc4c79961eec26f9aed5b0707b35cc4157ea8e9f merge diff -r f9b82b0740cb -r d19400daf303 libs/sqlite3.dll Binary file libs/sqlite3.dll has changed diff -r f9b82b0740cb -r d19400daf303 semicongine/build.nim --- 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))