Revert "Convert build scripts to CMake (#13427)"

This reverts commit 354df17d16.
This commit is contained in:
Dylan Conway
2024-09-10 19:57:19 -07:00
parent a832954c94
commit 374bb15db6
223 changed files with 44769 additions and 4467 deletions

18
scripts/build-lshpack.ps1 Executable file
View File

@@ -0,0 +1,18 @@
$ErrorActionPreference = 'Stop' # Setting strict mode, similar to 'set -euo pipefail' in bash
. (Join-Path $PSScriptRoot "env.ps1")
Push-Location (Join-Path $BUN_DEPS_DIR 'ls-hpack')
try {
Set-Location (mkdir -Force build)
Run cmake .. @CMAKE_FLAGS `
-DCMAKE_BUILD_TYPE=Release `
-DLSHPACK_XXH=ON `
-DSHARED=0
Run cmake --build . --clean-first --config Release
Copy-Item ls-hpack.lib $BUN_DEPS_OUT_DIR/lshpack.lib
Write-Host "-> lshpack.lib"
} finally { Pop-Location }