mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +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>
21 lines
407 B
CMake
21 lines
407 B
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
|
|
|
|
SET(eqlaunch_sources
|
|
eqlaunch.cpp
|
|
worldserver.cpp
|
|
zone_launch.cpp
|
|
)
|
|
|
|
SET(eqlaunch_headers
|
|
worldserver.h
|
|
zone_launch.h
|
|
)
|
|
|
|
ADD_EXECUTABLE(eqlaunch ${eqlaunch_sources} ${eqlaunch_headers})
|
|
|
|
INSTALL(TARGETS eqlaunch RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
|
|
|
TARGET_LINK_LIBRARIES(eqlaunch ${SERVER_LIBS})
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|