mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
78 lines
1.3 KiB
CMake
78 lines
1.3 KiB
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
|
|
|
SET(world_sources
|
|
adventure.cpp
|
|
adventure_manager.cpp
|
|
client.cpp
|
|
cliententry.cpp
|
|
clientlist.cpp
|
|
CMakeLists.txt
|
|
console.cpp
|
|
eql_config.cpp
|
|
eqw.cpp
|
|
eqw_http_handler.cpp
|
|
eqw_parser.cpp
|
|
http_request.cpp
|
|
launcher_link.cpp
|
|
launcher_list.cpp
|
|
lfplist.cpp
|
|
login_server.cpp
|
|
login_server_list.cpp
|
|
net.cpp
|
|
perl_eql_config.cpp
|
|
perl_eqw.cpp
|
|
perl_http_request.cpp
|
|
queryserv.cpp
|
|
ucs.cpp
|
|
wguild_mgr.cpp
|
|
world_config.cpp
|
|
worlddb.cpp
|
|
zonelist.cpp
|
|
zoneserver.cpp
|
|
)
|
|
|
|
SET(world_headers
|
|
adventure.h
|
|
adventure_manager.h
|
|
adventure_template.h
|
|
client.h
|
|
cliententry.h
|
|
clientlist.h
|
|
CMakeLists.txt
|
|
console.h
|
|
eql_config.h
|
|
eqw.h
|
|
eqw_http_handler.h
|
|
eqw_parser.h
|
|
http_request.h
|
|
launcher_link.h
|
|
launcher_list.h
|
|
lfplist.h
|
|
login_server.h
|
|
login_server_list.h
|
|
net.h
|
|
queryserv.h
|
|
sof_char_create_data.h
|
|
ucs.h
|
|
wguild_mgr.h
|
|
world_config.h
|
|
worlddb.h
|
|
world_tcp_connection.h
|
|
zonelist.h
|
|
zoneserver.h
|
|
)
|
|
|
|
ADD_EXECUTABLE(world ${world_sources} ${world_headers})
|
|
|
|
INSTALL(TARGETS world RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
|
|
|
ADD_DEFINITIONS(-DWORLD)
|
|
|
|
TARGET_LINK_LIBRARIES(world ${SERVER_LIBS})
|
|
|
|
IF(EQEMU_BUILD_PERL)
|
|
TARGET_LINK_LIBRARIES(world ${PERL_LIBRARY})
|
|
ENDIF(EQEMU_BUILD_PERL)
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|