Descent3/netgames/roboanarchy/CMakeLists.txt

16 lines
519 B
CMake
Raw Normal View History

set(HEADERS roboAnarchy.h roboanarchystr.h)
set(CPPS roboanarchy.cpp)
2024-04-16 03:43:29 +00:00
set(NETGAME_MODULE roboanarchy)
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} PRIVATE
dmfc
misc
)
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)