diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
commit | 425decdf7e9284d15aa726e3ae96b9942fb0e3ea (patch) | |
tree | 6c0dd7edfefff1be7b9e75fe0b3a0a85fe1595f3 /src/script/CMakeLists.txt | |
parent | ccb0b2e4d6674a7a00c9bf491f08fc73b6898c54 (diff) |
create tremded branch
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 + ) |