2023-06-20 04:33:09 +00:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2024-04-22 03:23:57 +00:00
|
|
|
IF (STAR_SYSTEM_WINDOWS)
|
|
|
|
SET (star_server_RESOURCES
|
|
|
|
starbound_server.rc
|
|
|
|
)
|
|
|
|
ENDIF ()
|
|
|
|
|
2023-06-20 04:33:09 +00:00
|
|
|
ADD_EXECUTABLE (starbound_server
|
|
|
|
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core> $<TARGET_OBJECTS:star_base> $<TARGET_OBJECTS:star_game>
|
2024-04-22 03:23:57 +00:00
|
|
|
${star_server_HEADERS} ${star_server_SOURCES} ${star_server_RESOURCES})
|
2024-03-08 09:09:27 +00:00
|
|
|
|
|
|
|
IF(STAR_PRECOMPILED_HEADERS)
|
|
|
|
TARGET_PRECOMPILE_HEADERS (starbound_server REUSE_FROM star_core)
|
|
|
|
ENDIF()
|
|
|
|
|
2023-06-25 10:01:32 +00:00
|
|
|
TARGET_LINK_LIBRARIES (starbound_server ${STAR_EXT_LIBS})
|