More cleanup

This commit is contained in:
KimLS
2025-11-22 22:34:32 -08:00
parent 1168d3bc37
commit 3f8746d33c
12 changed files with 106 additions and 105 deletions
+9 -8
View File
@@ -1,5 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
SET(ucs_sources
cmake_minimum_required(VERSION 3.20)
set(ucs_sources
chatchannel.cpp
clientlist.cpp
database.cpp
@@ -8,7 +9,7 @@ SET(ucs_sources
worldserver.cpp
)
SET(ucs_headers
set(ucs_headers
chatchannel.h
clientlist.h
database.h
@@ -16,12 +17,12 @@ SET(ucs_headers
worldserver.h
)
ADD_EXECUTABLE(ucs ${ucs_sources} ${ucs_headers})
add_executable(ucs ${ucs_sources} ${ucs_headers})
INSTALL(TARGETS ucs RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(TARGETS ucs RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
ADD_DEFINITIONS(-DUCS)
add_definitions(-DUCS)
TARGET_LINK_LIBRARIES(ucs ${SERVER_LIBS})
target_link_libraries(ucs ${SERVER_LIBS})
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)