CMake cleanup (#5082)
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled

This commit is contained in:
brainiac
2026-05-17 15:05:46 -07:00
committed by GitHub
parent 7d98b10c18
commit 11a8e46ee8
21 changed files with 1643 additions and 1665 deletions
+13 -16
View File
@@ -1,22 +1,20 @@
cmake_minimum_required(VERSION 3.20)
set(qserv_sources
database.cpp
lfguild.cpp
queryserv.cpp
queryservconfig.cpp
worldserver.cpp
zonelist.cpp
zoneserver.cpp
database.cpp
lfguild.cpp
queryserv.cpp
queryservconfig.cpp
worldserver.cpp
zonelist.cpp
zoneserver.cpp
)
set(qserv_headers
database.h
lfguild.h
queryservconfig.h
worldserver.h
zonelist.h
zoneserver.h
database.h
lfguild.h
queryservconfig.h
worldserver.h
zonelist.h
zoneserver.h
)
add_executable(queryserv ${qserv_sources} ${qserv_headers})
@@ -26,7 +24,6 @@ install(TARGETS queryserv RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
add_definitions(-DQSERV)
target_link_libraries(queryserv common)
target_include_directories(queryserv PRIVATE ..)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set_property(TARGET queryserv PROPERTY FOLDER executables/servers)