mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
08b906fcc3
Added installation steps for all built targets. Added FORCE_PORTABLE_INSTALL cmake option that controls portable installation (only supported for now).
13 lines
463 B
CMake
13 lines
463 B
CMake
set(HEADERS coop.h)
|
|
set(CPPS coop.cpp)
|
|
|
|
set(NETGAME_MODULE coop)
|
|
|
|
add_library(${NETGAME_MODULE} MODULE ${CPPS} ${HEADERS})
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES CXX_VISIBILITY_PRESET "hidden")
|
|
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)
|