mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 21:12:07 +08:00
third_party: raylib builds on macos (#34499)
* updated raylib setup for macos * raylib setup.sh renamed to build.sh * simplified copy * silent curl
This commit is contained in:
@@ -37,10 +37,11 @@ git clean -xdff .
|
||||
|
||||
cd src
|
||||
|
||||
make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM
|
||||
sudo make install RAYLIB_INSTALL_PATH=$INSTALL_DIR RAYLIB_H_INSTALL_PATH=$INSTALL_H_DIR
|
||||
make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM RAYLIB_RELEASE_PATH=$INSTALL_DIR
|
||||
cp raylib.h raymath.h rlgl.h $INSTALL_H_DIR/
|
||||
echo "raylib development files installed/updated in $INSTALL_H_DIR"
|
||||
|
||||
# this commit needs to be in line with raylib
|
||||
set -x
|
||||
RAYGUI_COMMIT="76b36b597edb70ffaf96f046076adc20d67e7827"
|
||||
wget -O $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h
|
||||
curl -fsSLo $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h
|
||||
Reference in New Issue
Block a user