This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
InfinitShoot/binding/lua/CMakeLists.txt

7 lines
341 B
CMake
Raw Normal View History

2022-07-30 01:39:39 +08:00
add_library(${HAZEL_LUA_BRIDGE_NAME} SHARED bridge.c)
target_link_libraries(${HAZEL_LUA_BRIDGE_NAME} PUBLIC ${HAZEL_CORE_NAME} lua)
2022-07-31 22:27:19 +08:00
target_precompile_headers(${HAZEL_LUA_BRIDGE_NAME} REUSE_FROM ${HAZEL_CORE_NAME})
2022-07-30 01:39:39 +08:00
add_executable(${HAZEL_EXECUTOR_NAME} executor.c)
2022-07-31 22:27:19 +08:00
target_link_libraries(${HAZEL_EXECUTOR_NAME} PUBLIC lua ${HAZEL_CORE_NAME})