Descent3/netgames/tanarchy/CMakeLists.txt

15 lines
499 B
CMake
Raw Normal View History

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