mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 15:48:11 +07:00
19 lines
400 B
Batchfile
19 lines
400 B
Batchfile
@echo off
|
|
set DIR=%~dp0
|
|
|
|
set ROOT_DIR=%DIR%..\..\
|
|
set BUILD_DIR=%ROOT_DIR%build\msvc2019_windows\
|
|
|
|
if not exist %BUILD_DIR% mkdir %BUILD_DIR% || goto :error
|
|
|
|
pushd %BUILD_DIR% || goto :error
|
|
cmake %ROOT_DIR% -G "Visual Studio 16 2019" || goto :error
|
|
start enduro2d.sln || goto :error
|
|
popd || goto :error
|
|
|
|
goto :EOF
|
|
|
|
:error
|
|
echo Failed with error #%errorlevel%.
|
|
exit /b %errorlevel%
|