mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2026-01-20 18:32:29 +08:00
- On ARM64, fixes incompatibilities with certain Windhawk mods that hook CreateWindowExW such as taskbar-volume-control. - On ARM64, fixes a very slim chance bug where hooked functions would cause a crash when called. - Updated dependencies.
15 lines
773 B
Batchfile
15 lines
773 B
Batchfile
rmdir /s /q libs\zlib\build-x64
|
|
rmdir /s /q libs\zlib\build-arm64
|
|
|
|
if "%VSINSTALLDIR:~-1%"=="\" (
|
|
set "EP_VSINSTALLDIR=%VSINSTALLDIR:~0,-1%"
|
|
) else (
|
|
set "EP_VSINSTALLDIR=%VSINSTALLDIR%"
|
|
)
|
|
|
|
cmake libs/zlib -Blibs/zlib/build-x64 -G "Visual Studio 17 2022" -A x64 -D"CMAKE_GENERATOR_INSTANCE:PATH=%EP_VSINSTALLDIR%" -D"CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
|
|
cmake libs/zlib -Blibs/zlib/build-arm64 -G "Visual Studio 17 2022" -A ARM64 -D"CMAKE_GENERATOR_INSTANCE:PATH=%EP_VSINSTALLDIR%" -D"CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
|
|
|
|
cmake --build libs/zlib/build-x64 --config Debug
|
|
cmake --build libs/zlib/build-arm64 --config Debug
|