mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-04 11:33:52 +00:00
* [CPP] Enable and build compliance with cpp20 * Windows build fix * bump fmt version * Updated fmt to 9.1, updated cmake minimum and verified preprocessor stuff works. * Missing : * Fix warning: top-level comma expression in array subscript is deprecated * Fix warning: top-level comma expression in array subscript is deprecated Co-authored-by: KimLS <KimLS@peqtgc.com>
38 lines
736 B
CMake
38 lines
736 B
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
|
|
|
|
SET(eqlogin_sources
|
|
account_management.cpp
|
|
client.cpp
|
|
client_manager.cpp
|
|
database.cpp
|
|
encryption.cpp
|
|
loginserver_command_handler.cpp
|
|
loginserver_webserver.cpp
|
|
main.cpp
|
|
server_manager.cpp
|
|
world_server.cpp
|
|
)
|
|
|
|
SET(eqlogin_headers
|
|
account_management.h
|
|
client.h
|
|
client_manager.h
|
|
database.h
|
|
encryption.h
|
|
loginserver_command_handler.h
|
|
loginserver_webserver.h
|
|
login_server.h
|
|
login_types.h
|
|
options.h
|
|
server_manager.h
|
|
world_server.h
|
|
)
|
|
|
|
ADD_EXECUTABLE(loginserver ${eqlogin_sources} ${eqlogin_headers})
|
|
|
|
INSTALL(TARGETS loginserver RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
|
|
|
TARGET_LINK_LIBRARIES(loginserver ${SERVER_LIBS})
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|