mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-28 13:01:31 +00:00
- Add static libraries to "libraries" folder - Add servers to "executables/servers" folder - Add tools to "executables/tools" folder - Add tests to "executables/tests" folder - Add contrib projects to "contrib" folder
22 lines
481 B
CMake
22 lines
481 B
CMake
cmake_minimum_required(VERSION 3.17.0)
|
|
|
|
set(shared_memory_sources
|
|
items.cpp
|
|
main.cpp
|
|
spells.cpp
|
|
)
|
|
|
|
set(shared_memory_headers
|
|
items.h
|
|
spells.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 common)
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
|
set_property(TARGET shared_memory PROPERTY FOLDER executables/servers)
|