Review scripts name and mini_al inclusion
This commit is contained in:
parent
944a388b1b
commit
2e3310c9de
@ -58,10 +58,10 @@ all of the flags.
|
||||
#### Examples
|
||||
| What the command does | Command |
|
||||
|-------------------------------------------------------------|---------------------------|
|
||||
| Build a release build, on Windows | `windows-build.bat` |
|
||||
| Build a release build, full recompile, on Linux | `./linux-build.sh -c` |
|
||||
| Build a debug build and run, on macOS | `./osx-build.sh -d -r` |
|
||||
| Build in debug, run, don't print at all, on Linux with `sh` | `sh linux-build.sh -drqq` |
|
||||
| Build a release build, on Windows | `build-windows.bat` |
|
||||
| Build a release build, full recompile, on Linux | `./build-linux.sh -c` |
|
||||
| Build a debug build and run, on macOS | `./build-osx.sh -d -r` |
|
||||
| Build in debug, run, don't print at all, on Linux with `sh` | `sh build-linux.sh -drqq` |
|
||||
|
||||
|
||||
[visual-studio]: https://visualstudio.microsoft.com/downloads/#visual-studio-community-2017
|
||||
|
2
projects/scripts/linux-build.sh → projects/scripts/build-linux.sh
Executable file → Normal file
2
projects/scripts/linux-build.sh → projects/scripts/build-linux.sh
Executable file → Normal file
@ -114,7 +114,7 @@ if [ ! -d "$TEMP_DIR" ]; then
|
||||
mkdir -p $TEMP_DIR
|
||||
cd $TEMP_DIR
|
||||
RAYLIB_DEFINES="-D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33"
|
||||
RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/rglfw.c $RAYLIB_SRC/external/mini_al.c"
|
||||
RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/rglfw.c"
|
||||
RAYLIB_INCLUDE_FLAGS="-I$RAYLIB_SRC -I$RAYLIB_SRC/external/glfw/include"
|
||||
|
||||
if [ -n "$REALLY_QUIET" ]; then
|
2
projects/scripts/osx-build.sh → projects/scripts/build-osx.sh
Executable file → Normal file
2
projects/scripts/osx-build.sh → projects/scripts/build-osx.sh
Executable file → Normal file
@ -108,7 +108,7 @@ if [ ! -d "$TEMP_DIR" ]; then
|
||||
mkdir -p $TEMP_DIR
|
||||
cd $TEMP_DIR
|
||||
RAYLIB_DEFINES="-D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33"
|
||||
RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c $RAYLIB_SRC/external/mini_al.c"
|
||||
RAYLIB_C_FILES="$RAYLIB_SRC/core.c $RAYLIB_SRC/shapes.c $RAYLIB_SRC/textures.c $RAYLIB_SRC/text.c $RAYLIB_SRC/models.c $RAYLIB_SRC/utils.c $RAYLIB_SRC/raudio.c"
|
||||
RAYLIB_INCLUDE_FLAGS="-I$RAYLIB_SRC -I$RAYLIB_SRC/external/glfw/include"
|
||||
|
||||
if [ -n "$REALLY_QUIET" ]; then
|
@ -159,7 +159,7 @@ IF NOT EXIST !TEMP_DIR!\ (
|
||||
cd !TEMP_DIR!
|
||||
REM Raylib's src folder
|
||||
set "RAYLIB_DEFINES=/D_DEFAULT_SOURCE /DPLATFORM_DESKTOP /DGRAPHICS_API_OPENGL_33"
|
||||
set RAYLIB_C_FILES="!RAYLIB_SRC!\core.c" "!RAYLIB_SRC!\shapes.c" "!RAYLIB_SRC!\textures.c" "!RAYLIB_SRC!\text.c" "!RAYLIB_SRC!\models.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c" "!RAYLIB_SRC!\external\mini_al.c"
|
||||
set RAYLIB_C_FILES="!RAYLIB_SRC!\core.c" "!RAYLIB_SRC!\shapes.c" "!RAYLIB_SRC!\textures.c" "!RAYLIB_SRC!\text.c" "!RAYLIB_SRC!\models.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"
|
||||
|
||||
IF DEFINED REALLY_QUIET (
|
Loading…
Reference in New Issue
Block a user