C++ Lua wrapper.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
592 B

cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_STANDARD 20)
project(kst_disnomia)
find_package(Lua 5.3 REQUIRED)
add_library(
${PROJECT_NAME}
includes/kst/dsn/lua.hpp
includes/kst/disnomia.hpp
includes/kst/dsn/types.hpp
includes/kst/dsn/status.hpp
includes/kst/dsn/state.hpp
includes/kst/dsn/states/base.hpp
includes/kst/dsn/states/context.hpp
)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(${PROJECT_NAME} PUBLIC includes/)
target_link_libraries(${PROJECT_NAME} lua)