Add build android

This commit is contained in:
Nikola Petrov 2024-12-24 22:20:13 +01:00
parent 0cf0ac4ad7
commit 9985871748

23
build_android.md Normal file
View File

@ -0,0 +1,23 @@
- Download [raymob](https://github.com/Bigfoot71/raymob/releases/tag/5.0)
- Changes to do:
```gradle.properties
#gradle.properties
app.orientation=portrait
projectName=treender
# Name of your project
app.name=treender
app.native_library_name=treender
app.application_id=com.petrovv.treender
```
in cMakeLists.txt
```Cmake
set(CMAKE_CXX_STANDARD 20)
file(GLOB_RECURSE SOURCES "${CMAKE_SOURCE_DIR}/src/*.cpp")
target_include_directories(${APP_LIB_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/inc")
```