diff options
Diffstat (limited to 'src/script/CMakeLists.txt')
-rw-r--r-- | src/script/CMakeLists.txt | 35 |
1 files changed, 35 insertions, 0 deletions
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 + ) |