1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-09-04 14:17:11 +02:00

Basic Discord library layout.

Foundation for the discord library bindings. To be gradually exposed to the script.
This commit is contained in:
Sandu Liviu Catalin
2021-09-10 20:13:42 +03:00
parent f6cb8ff8a1
commit 4f70f89b78
138 changed files with 60430 additions and 0 deletions

View File

@@ -133,6 +133,12 @@ if(WIN32 OR MINGW)
endif()
# Link to base libraries
target_link_libraries(SqModule Squirrel fmt::fmt SimpleINI TinyDir xxHash ConcurrentQueue SAJSON CPR PUGIXML CivetWeb maxminddb libzmq-static)
# Enable built-in Discord support
if(ENABLE_DISCORD)
target_link_libraries(SqModule DPP)
target_compile_definitions(SqModule PRIVATE VCMP_ENABLE_DISCORD=1)
target_sources(SqModule PRIVATE Library/DPP.cpp Library/DPP.hpp Library/DPPEv.cpp Library/DPPEv.hpp Library/DPPTy.cpp Library/DPPTy.hpp)
endif()
# Link to POCO libraries
target_link_libraries(SqModule Poco::Foundation Poco::Crypto Poco::Data Poco::Net Poco::JSON Poco::XML)
# Does POCO have SQLite support?