2022-11-07 08:12:35 +00:00
|
|
|
set(DCHATSERVER_SOURCES
|
2024-04-21 07:09:54 +00:00
|
|
|
"ChatHttpApi.cpp"
|
2023-11-18 11:55:12 +00:00
|
|
|
"ChatIgnoreList.cpp"
|
2022-11-07 08:12:35 +00:00
|
|
|
"ChatPacketHandler.cpp"
|
|
|
|
"PlayerContainer.cpp"
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(ChatServer "ChatServer.cpp")
|
2024-03-06 02:13:24 +00:00
|
|
|
target_include_directories(ChatServer PRIVATE "${PROJECT_SOURCE_DIR}/dChatFilter")
|
2023-12-31 06:26:49 +00:00
|
|
|
add_compile_definitions(ChatServer PRIVATE PROJECT_VERSION="\"${PROJECT_VERSION}\"")
|
2022-11-07 08:12:35 +00:00
|
|
|
|
2024-03-06 02:13:24 +00:00
|
|
|
add_library(dChatServer ${DCHATSERVER_SOURCES})
|
|
|
|
target_include_directories(dChatServer PRIVATE "${PROJECT_SOURCE_DIR}/dServer")
|
|
|
|
|
2022-11-07 08:12:35 +00:00
|
|
|
target_link_libraries(dChatServer ${COMMON_LIBRARIES} dChatFilter)
|
2024-01-06 05:32:09 +00:00
|
|
|
target_link_libraries(ChatServer ${COMMON_LIBRARIES} dChatFilter dChatServer dServer)
|
|
|
|
|