summaryrefslogtreecommitdiff
path: root/tests/projects/android/native_app/lvgl_particles/xmake.lua
blob: 3a74e8439328bfac2b7542dfcf4537ccb0dd7d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_rules("mode.debug", "mode.release")

add_requires("lvgl 9.1.0")

target("lvgl_particles")
    set_kind("binary")
    set_languages("c99")
    add_files("src/main.c")
    add_syslinks("log", "android", "EGL", "GLESv2")
    add_packages("lvgl")
    
    -- define LV_CONF_INCLUDE_SIMPLE to include lv_conf.h
    add_defines("LV_CONF_INCLUDE_SIMPLE")
    
    add_rules("android.native_app", {
        android_sdk_version = "35",
        android_manifest = "android/AndroidManifest.xml",
        android_res = "android/res",
        keystore = "android/debug.jks",
        keystore_pass = "123456",
        package_name = "com.lvgl.particles",
        logcat_filters = {"lvgl_particles", "lvgl"}
    })