mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-24 12:06:45 +00:00
16 lines
569 B
PowerShell
16 lines
569 B
PowerShell
$gModDir = (Get-Location).Path
|
|
Write-Host Set current directory to $gModDir
|
|
rm -r -fo build
|
|
cmake -B build
|
|
cd build/_deps/zlib-src
|
|
cmake -A Win32 -DCMAKE_INSTALL_PREFIX="$($gModDir)\bin\zlib" .
|
|
cmake --build . --config Release
|
|
cmake --install . --config Release
|
|
cd $gModDir
|
|
cd build/_deps/libzip-src
|
|
cmake -A Win32 -DZLIB_LIBRARY="$($gModDir)\bin\zlib\lib\zlibstatic.lib" -DZLIB_INCLUDE_DIR="$($gModDir)\bin\zlib\include" -DCMAKE_INSTALL_PREFIX="$($gModDir)\bin\libzip" . .
|
|
cmake --build . --config Release
|
|
cmake --install . --config Release
|
|
cd $gModDir
|
|
cmake -B build
|