mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-04 19:53:52 +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
463 B
CMake
22 lines
463 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
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 common)
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
|
set_property(TARGET eqlaunch PROPERTY FOLDER executables/tools)
|