build_zlib_windows.cmd 482 B

12345678910111213
  1. @rem #
  2. @rem # Copyright (c) Contributors to the Open 3D Engine Project.
  3. @rem # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. @rem #
  5. @rem # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. @rem #
  7. cmake -S temp/src -B temp/build -DBUILD_SHARED_LIBS=OFF -DSKIP_INSTALL_FILES=YES
  8. @if %errorlevel% NEQ 0 ( exit /b 1 )
  9. cmake --build temp/build --target zlibstatic --config Release --parallel
  10. @if %errorlevel% NEQ 0 ( exit /b 1 )
  11. exit /b 0