26 lines
512 B
CMake
26 lines
512 B
CMake
|
|
add_library(scarchat_shared STATIC
|
||
|
|
protocol/message.cpp
|
||
|
|
protocol/message.h
|
||
|
|
protocol/types.h
|
||
|
|
auth/jwt.cpp
|
||
|
|
auth/jwt.h
|
||
|
|
crypto/argon2_wrapper.cpp
|
||
|
|
crypto/argon2_wrapper.h
|
||
|
|
utils/json_config.cpp
|
||
|
|
utils/json_config.h
|
||
|
|
)
|
||
|
|
|
||
|
|
target_include_directories(scarchat_shared PUBLIC
|
||
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
|
|
)
|
||
|
|
|
||
|
|
target_link_libraries(scarchat_shared PUBLIC
|
||
|
|
Boost::system
|
||
|
|
Boost::thread
|
||
|
|
OpenSSL::SSL
|
||
|
|
OpenSSL::Crypto
|
||
|
|
argon2_lib
|
||
|
|
jwt-cpp
|
||
|
|
nlohmann_json::nlohmann_json
|
||
|
|
)
|