mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Use the recommended MinSizeRel instead of Release for CMake
@ -60,9 +60,9 @@ You can build raylib using either **CMake** or **Make**. Follow the steps below
|
||||
- Build raylib as a static library:
|
||||
```
|
||||
cmake -B Build \
|
||||
-G <build_system> \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE=<path_to_ndk>/build/cmake/android.toolchain.cmake \
|
||||
-G "<build_system>" \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_TOOLCHAIN_FILE=<path_to_ndk>\build\cmake\android.toolchain.cmake \
|
||||
-DPLATFORM=Android \
|
||||
-DANDROID_ABI=<abi> \
|
||||
-DANDROID_PLATFORM=<minimum-api-level> \
|
||||
@ -81,7 +81,7 @@ You can build raylib using either **CMake** or **Make**. Follow the steps below
|
||||
|
||||
- Navigate to the source folder:
|
||||
```
|
||||
cd raylib/src
|
||||
cd raylib\src
|
||||
```
|
||||
- Build the library:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user