Descent3/netgames/hyperanarchy/CMakeLists.txt

13 lines
498 B
CMake
Raw Normal View History

set(HEADERS HyperAnarchy.h hyperstr.h)
set(CPPS hyperanarchy.cpp)
2024-04-16 03:43:29 +00:00
set(NETGAME_MODULE hyperanarchy)
2024-04-16 03:43:29 +00:00
add_library(${NETGAME_MODULE} MODULE ${CPPS} ${HEADERS})
set_target_properties(${NETGAME_MODULE} PROPERTIES CXX_VISIBILITY_PRESET "hidden")
2024-04-16 03:43:29 +00:00
set_target_properties(${NETGAME_MODULE} PROPERTIES PREFIX "")
set_target_properties(${NETGAME_MODULE} PROPERTIES SUFFIX ".d3m")
target_link_libraries(${NETGAME_MODULE} dmfc)
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)