mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +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>
31 lines
572 B
CMake
31 lines
572 B
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
|
|
|
|
SET(shared_memory_sources
|
|
base_data.cpp
|
|
faction_association.cpp
|
|
items.cpp
|
|
loot.cpp
|
|
main.cpp
|
|
npc_faction.cpp
|
|
spells.cpp
|
|
skill_caps.cpp
|
|
)
|
|
|
|
SET(shared_memory_headers
|
|
base_data.h
|
|
faction_association.h
|
|
items.h
|
|
loot.h
|
|
npc_faction.h
|
|
spells.h
|
|
skill_caps.h
|
|
)
|
|
|
|
ADD_EXECUTABLE(shared_memory ${shared_memory_sources} ${shared_memory_headers})
|
|
|
|
INSTALL(TARGETS shared_memory RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
|
|
|
TARGET_LINK_LIBRARIES(shared_memory ${SERVER_LIBS})
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|