Cubyz/debug_windows.bat
Krzysztof Wiśniewski ac76d1ffd6
Move compiler detection to separate scripts (#1573)
This will allow for Cubyz Dev Kit to install compiler without building
the project itself.

---------

Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
2025-06-02 15:50:25 +02:00

23 lines
346 B
Batchfile

@echo off
cd /D "%~dp0"
call scripts\install_compiler_windows.bat
if errorlevel 1 (
echo Failed to install Zig compiler.
exit /b 1
)
echo Building Zig Cubyz (%*^) from source. This may take a few minutes...
compiler\zig\zig build %*
if errorlevel 1 (
exit /b 1
)
echo Cubyz successfully built!
echo Launching Cubyz.
zig-out\bin\Cubyzig