Files
Martin Slachta f4174eb0c7 #1 - quicr module
2026-08-01 22:43:09 +02:00

35 lines
615 B
CMake

project(tw_chat_client)
file(GLOB FILES
src/*.cpp
)
file(GLOB_RECURSE HEADERS
include/*.hpp
)
add_library(${PROJECT_NAME} OBJECT ${FILES} ${PROTO_FILES})
add_library(tw::chat_client ALIAS ${PROJECT_NAME})
target_sources(${PROJECT_NAME}
PUBLIC FILE_SET HEADERS
BASE_DIRS include
FILES ${HEADERS}
)
target_include_directories(${PROJECT_NAME}
PUBLIC
./include/
)
target_link_libraries(${PROJECT_NAME}
PUBLIC
tw::network
tl::expected
tw::protocol
tw::message_protocol
protobuf::libprotobuf
tw::chat::lib
spdlog::spdlog
)