|
|
|
@ -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: |
|
|
|
``` |
|
|
|
|