2021-10-21 03:13:09 +01:00
|
|
|
add_library(
|
|
|
|
bserv
|
|
|
|
|
|
|
|
pch.cpp
|
|
|
|
bserv.cpp
|
|
|
|
client.cpp
|
|
|
|
database.cpp
|
|
|
|
session.cpp
|
|
|
|
utils.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(
|
|
|
|
bserv PUBLIC
|
|
|
|
|
2021-11-16 09:05:17 +00:00
|
|
|
../dependencies
|
|
|
|
../dependencies/libpqxx/include
|
2021-10-21 03:13:09 +01:00
|
|
|
include
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(
|
|
|
|
bserv PUBLIC
|
|
|
|
|
|
|
|
pthread
|
|
|
|
boost_thread
|
|
|
|
boost_context
|
|
|
|
boost_coroutine
|
|
|
|
boost_system
|
|
|
|
boost_filesystem
|
|
|
|
boost_log
|
|
|
|
boost_log_setup
|
|
|
|
boost_json
|
2021-11-16 09:05:17 +00:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/cryptopp/libcryptopp.a"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/libpqxx/src/.libs/libpqxx.a"
|
2021-10-21 03:13:09 +01:00
|
|
|
pq
|
|
|
|
)
|