From 425decdf7e9284d15aa726e3ae96b9942fb0e3ea Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 16 Feb 2020 03:40:06 +0000 Subject: create tremded branch --- src/script/CMakeLists.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/script/CMakeLists.txt (limited to 'src/script/CMakeLists.txt') diff --git a/src/script/CMakeLists.txt b/src/script/CMakeLists.txt new file mode 100644 index 0000000..d7741f7 --- /dev/null +++ b/src/script/CMakeLists.txt @@ -0,0 +1,35 @@ +add_library( + script_api STATIC + client.h + cvar.h + http_client.h + lnettlelib.c + lnettlelib.h + lnettlelib.h + nettle.h + rapidjson.h + rapidjson/document.cpp + rapidjson/file.hpp + rapidjson/luax.hpp + rapidjson/rapidjson.cpp + rapidjson/schema.cpp + rapidjson/userdata.hpp + rapidjson/values.cpp + rapidjson/values.hpp + ) + + +include_directories( + # these are in global namespace + ${CMAKE_CURRENT_SOURCE_DIR}/../../external/lua-5.3.3/include + ${CMAKE_CURRENT_SOURCE_DIR}/../../external/sol + ${CMAKE_CURRENT_SOURCE_DIR}/../common + # these have they're own namespace + ${CMAKE_CURRENT_SOURCE_DIR}/../../external/nettle-3.3 + ${CMAKE_CURRENT_SOURCE_DIR}/../../external/rapidjson + ) + +target_link_libraries( + script_api + lua + ) -- cgit