Skip to content

Commit 8da381d

Browse files
committed
Make raylib-lua android compatible, use headers from raymobs custom rsylib for generating bind and boot *.c
1 parent d5345ed commit 8da381d

File tree

4 files changed

+3415
-7
lines changed

4 files changed

+3415
-7
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
- name: Make gradlew executable
5454
run: chmod +x ./gradlew
5555

56-
- name: Generate raylib-lua binding required files
57-
run: |
58-
cd app/src/main/cpp/deps/raylib-lua/
59-
make clean
60-
make PLATFORM=PLATFORM_DESKTOP
61-
cp src/autogen/*.c ../../
62-
cd ../../../../../../
56+
# - name: Generate raylib-lua binding required files
57+
# run: |
58+
# cd app/src/main/cpp/deps/raylib-lua/
59+
# make clean
60+
# make PLATFORM=PLATFORM_DESKTOP
61+
# cp src/autogen/*.c ../../
62+
# cd ../../../../../../
6363

6464
- name: Build debug APK
6565
run: ./gradlew assembleDebug

app/src/main/cpp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ add_subdirectory(${CMAKE_SOURCE_DIR}/deps/lua lua)
2020
set(SOURCES
2121
${CMAKE_SOURCE_DIR}/main.c
2222
${CMAKE_SOURCE_DIR}/raylua.c
23+
${CMAKE_SOURCE_DIR}/boot.c
24+
${CMAKE_SOURCE_DIR}/bind.c
2325
)
2426

2527
# Fetch all source files for your project (recursively), excluding 'deps' source files

0 commit comments

Comments
 (0)