|
@ -165,7 +165,7 @@ REM Build raylib if it hasn't been cached in TEMP_DIR |
|
|
IF NOT EXIST !TEMP_DIR!\ ( |
|
|
IF NOT EXIST !TEMP_DIR!\ ( |
|
|
mkdir !TEMP_DIR! |
|
|
mkdir !TEMP_DIR! |
|
|
cd !TEMP_DIR! |
|
|
cd !TEMP_DIR! |
|
|
REM Raylib's src folder |
|
|
|
|
|
|
|
|
REM raylib source folder |
|
|
set "RAYLIB_DEFINES=/D_DEFAULT_SOURCE /DPLATFORM_DESKTOP /DGRAPHICS_API_OPENGL_33" |
|
|
set "RAYLIB_DEFINES=/D_DEFAULT_SOURCE /DPLATFORM_DESKTOP /DGRAPHICS_API_OPENGL_33" |
|
|
set RAYLIB_C_FILES="!RAYLIB_SRC!\rcore.c" "!RAYLIB_SRC!\rshapes.c" "!RAYLIB_SRC!\rtextures.c" "!RAYLIB_SRC!\rtext.c" "!RAYLIB_SRC!\rmodels.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c" |
|
|
set RAYLIB_C_FILES="!RAYLIB_SRC!\rcore.c" "!RAYLIB_SRC!\rshapes.c" "!RAYLIB_SRC!\rtextures.c" "!RAYLIB_SRC!\rtext.c" "!RAYLIB_SRC!\rmodels.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c" |
|
|
set RAYLIB_INCLUDE_FLAGS=/I"!RAYLIB_SRC!" /I"!RAYLIB_SRC!\external\glfw\include" |
|
|
set RAYLIB_INCLUDE_FLAGS=/I"!RAYLIB_SRC!" /I"!RAYLIB_SRC!\external\glfw\include" |
|
@ -175,7 +175,7 @@ IF NOT EXIST !TEMP_DIR!\ ( |
|
|
) ELSE ( |
|
|
) ELSE ( |
|
|
cl.exe /w /c !VERBOSITY_FLAG! !RAYLIB_DEFINES! !RAYLIB_INCLUDE_FLAGS! !COMPILATION_FLAGS! !RAYLIB_C_FILES! || exit /B |
|
|
cl.exe /w /c !VERBOSITY_FLAG! !RAYLIB_DEFINES! !RAYLIB_INCLUDE_FLAGS! !COMPILATION_FLAGS! !RAYLIB_C_FILES! || exit /B |
|
|
) |
|
|
) |
|
|
IF NOT DEFINED QUIET echo COMPILE-INFO: Raylib compiled into object files in: !TEMP_DIR!\ |
|
|
|
|
|
|
|
|
IF NOT DEFINED QUIET echo COMPILE-INFO: raylib compiled into object files in: !TEMP_DIR!\ |
|
|
|
|
|
|
|
|
REM Out of the temp directory |
|
|
REM Out of the temp directory |
|
|
cd !ROOT_DIR! |
|
|
cd !ROOT_DIR! |
|
|