2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
# need to whole-archive this lib
|
|
|
|
set(target_name lua_android_spec)
|
|
|
|
|
|
|
|
project(${target_name})
|
|
|
|
|
|
|
|
set(${target_name}_src
|
|
|
|
../manual/platform/android/CCLuaJavaBridge.cpp
|
2022-08-08 18:02:17 +08:00
|
|
|
../manual/platform/android/jni/AxysLuaJavaBridge.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(${target_name} STATIC
|
|
|
|
${${target_name}_src}
|
|
|
|
)
|
|
|
|
|
2022-02-17 18:06:19 +08:00
|
|
|
get_target_property(lua_header ${AX_LUA_ENGINE} INTERFACE_INCLUDE_DIRECTORIES)
|
2020-10-19 19:56:48 +08:00
|
|
|
get_target_property(tolua_header tolua INTERFACE_INCLUDE_DIRECTORIES)
|
2019-11-23 20:27:39 +08:00
|
|
|
target_include_directories(${target_name}
|
|
|
|
PRIVATE ../../..
|
|
|
|
PRIVATE ../manual
|
|
|
|
PRIVATE ../manual/platform/android
|
|
|
|
PRIVATE ${lua_header}
|
|
|
|
PRIVATE ${tolua_header}
|
2021-12-31 14:39:08 +08:00
|
|
|
PRIVATE ../../../../core
|
2022-01-04 09:40:27 +08:00
|
|
|
PRIVATE ../../../../thirdparty
|
|
|
|
PRIVATE ../../../../thirdparty/robin-map/include
|
|
|
|
PRIVATE ../../../../thirdparty/jni.hpp/include
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
|
|
|
|