Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
32 lines
692 B
Batchfile
32 lines
692 B
Batchfile
@echo off
|
|
:: Copyright (c) Wojciech Figat. All rights reserved.
|
|
|
|
setlocal
|
|
pushd
|
|
|
|
echo Generating Flax Engine project files...
|
|
|
|
:: Change the path to the script root
|
|
cd /D "%~dp0"
|
|
|
|
:: Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
|
|
call "Development\Scripts\Windows\CallBuildTool.bat" -genproject %*
|
|
if errorlevel 1 goto BuildToolFailed
|
|
|
|
:: Build bindings for all editor configurations
|
|
echo Building C# bindings...
|
|
Binaries\Tools\Flax.Build.exe -build -BuildBindingsOnly -arch=x64 -platform=Windows --buildTargets=FlaxEditor,FlaxGame
|
|
|
|
popd
|
|
echo Done!
|
|
exit /B 0
|
|
|
|
:BuildToolFailed
|
|
echo Flax.Build tool failed.
|
|
pause
|
|
goto Exit
|
|
|
|
:Exit
|
|
popd
|
|
exit /B 1
|