osb/source/server/CMakeLists.txt
2023-06-20 14:33:09 +10:00

26 lines
668 B
CMake

INCLUDE_DIRECTORIES (
${STAR_EXTERN_INCLUDES}
${STAR_CORE_INCLUDES}
${STAR_BASE_INCLUDES}
${STAR_PLATFORM_INCLUDES}
${STAR_GAME_INCLUDES}
)
SET (star_server_HEADERS
StarServerQueryThread.hpp
StarServerRconClient.hpp
StarServerRconThread.hpp
)
SET (star_server_SOURCES
StarServerQueryThread.cpp
StarServerRconClient.cpp
StarServerRconThread.cpp
main.cpp
)
ADD_EXECUTABLE (starbound_server
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core> $<TARGET_OBJECTS:star_base> $<TARGET_OBJECTS:star_game>
${star_server_HEADERS} ${star_server_SOURCES})
TARGET_LINK_LIBRARIES (starbound_server ${STAR_EXT_LIBS})