build_windows.cmd 610 B

12345678910111213141516171819
  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. REM
  8. REM Note: on x86/x64 platforms, O3DE requires a minimum of SSE 4.1, so we do request this.
  9. cmake -S temp/src -B temp/build -G "Visual Studio 16 2019" -DISA_SSE41=ON
  10. @if %errorlevel% NEQ 0 ( exit /b 1 )
  11. cmake --build temp/build --config Release -j 8
  12. @if %errorlevel% NEQ 0 ( exit /b 1 )
  13. cmake --build temp/build --config Debug -j 8
  14. @if %errorlevel% NEQ 0 ( exit /b 1 )
  15. exit /b 0