summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-16 23:36:36 +0800
committerruki <[email protected]>2025-12-16 23:36:36 +0800
commitfb8a3f6b216638783cd25600a02f7527dabd91cf (patch)
tree299df2c4c1f7b524230779dc98cc088e5684bc6c
parent51ef6420b6bba35a34f3ac9dafd5b5d36eb24e2d (diff)
improve logs tag
-rw-r--r--tests/projects/android/native_app/src/main.cpp2
-rw-r--r--tests/projects/android/native_app/xmake.lua2
-rw-r--r--xmake/rules/ndk/load.lua1
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/projects/android/native_app/src/main.cpp b/tests/projects/android/native_app/src/main.cpp
index b7dda5d34..e906f490e 100644
--- a/tests/projects/android/native_app/src/main.cpp
+++ b/tests/projects/android/native_app/src/main.cpp
@@ -1,7 +1,7 @@
#include <raylib.h>
#include <android/log.h>
-#define LOG_TAG "raydemo_android"
+#define LOG_TAG "raydemo"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
int main(int argc, char** argv) {
diff --git a/tests/projects/android/native_app/xmake.lua b/tests/projects/android/native_app/xmake.lua
index 587994928..f5fc5f2ed 100644
--- a/tests/projects/android/native_app/xmake.lua
+++ b/tests/projects/android/native_app/xmake.lua
@@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release")
add_requires("raylib 5.5.0")
-target("raydemo_android")
+target("raydemo")
set_kind("binary")
set_languages("c++17")
add_files("src/main.cpp")
diff --git a/xmake/rules/ndk/load.lua b/xmake/rules/ndk/load.lua
index 766994bb9..7700f85e7 100644
--- a/xmake/rules/ndk/load.lua
+++ b/xmake/rules/ndk/load.lua
@@ -34,6 +34,7 @@ function main(target)
raise("NDK path not set! Please set NDK path properly.")
end
+ -- set target kind
target:set("kind", "shared")
-- add glue file to target