mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 02:18:26 +00:00
CMake cleanup (#5082)
This commit is contained in:
+13
-16
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user