2022-11-07 08:12:35 +00:00
|
|
|
set(DCHATSERVER_SOURCES
|
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")
|
|
|
|
|
2024-03-08 21:44:02 +00:00
|
|
|
target_link_libraries(dChatServer PRIVATE ${COMMON_LIBRARIES} dChatFilter)
|
|
|
|
target_link_libraries(ChatServer PRIVATE ${COMMON_LIBRARIES} dChatFilter dChatServer dServer)
|
2024-01-06 05:32:09 +00:00
|
|
|
|