2024-08-09 15:00:30 +00:00
|
|
|
set(HEADERS
|
|
|
|
coop.h
|
|
|
|
coopstr.h)
|
2024-04-20 12:35:20 +00:00
|
|
|
set(CPPS coop.cpp)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-20 12:35:20 +00:00
|
|
|
set(NETGAME_MODULE coop)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-22 22:57:47 +00:00
|
|
|
add_library(${NETGAME_MODULE} MODULE ${CPPS} ${HEADERS})
|
2024-05-13 03:23:10 +00:00
|
|
|
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")
|
2024-10-26 18:54:30 +00:00
|
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES LIBRARY_OUTPUT_NAME "co-op")
|
2024-10-20 18:55:46 +00:00
|
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "$<TARGET_FILE_DIR:Descent3>/netgames")
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-06-26 21:09:50 +00:00
|
|
|
target_link_libraries(${NETGAME_MODULE} PRIVATE
|
|
|
|
dmfc
|
|
|
|
)
|
2024-05-08 20:27:25 +00:00
|
|
|
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)
|