From 4de2fd80fd885a889599d21f8219ac5c9cddd5f0 Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:16:19 +0800 Subject: [PATCH] Add windows bat script. --- scripts/build_dlls_windows.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/build_dlls_windows.bat diff --git a/scripts/build_dlls_windows.bat b/scripts/build_dlls_windows.bat new file mode 100644 index 0000000..26d63f0 --- /dev/null +++ b/scripts/build_dlls_windows.bat @@ -0,0 +1,11 @@ +@echo off + +SET SCRIPT_DIR=%~dp0 + +git submodule update --init + +%SCRIPT_DIR\vendor\vcpkg\bootstrap-vcpkg.bat + +%SCRIPT_DIR\vendor\vcpkg\vcpkg install rocksdb[lz4,zstd]:x64-windows-rocksdb --recurse --overlay-triplets=%SCRIPT_DIR\triplets + +copy %SCRIPT_DIR\vendor\vcpkg\installed\x64-windows-rocksdb\bin\rocksdb-shared.dll %SCRIPT_DIR\librocksdb.dll