becs/examples/example1/build.bat

17 lines
468 B
Batchfile

@echo off
REM Build Script for Example 1
mkdir build
git submodule update --init
pushd ".\external\raylib\"
cmake -S . -B build -DBUILD_EXAMPLES=Off
cmake --build build
popd
pushd ".\build"
cl /Zi raylib.lib user32.lib opengl32.lib gdi32.lib winmm.lib msvcrt.lib shell32.lib "..\example1.c" -Ic:"\external\raylib\build\raylib\include" /link /libpath:c:"..\external\raylib\build\raylib\Release" /NODEFAULTLIB:libcmt /NODEFAULTLIB:msvcrt /NODEFAULTLIB:libcmtd
popd