2024-04-20 12:35:20 +00:00
|
|
|
set(HEADERS ctf.h CTFstr.h)
|
|
|
|
set(CPPS ctf.cpp)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-20 12:35:20 +00:00
|
|
|
set(NETGAME_MODULE ctf)
|
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")
|
|
|
|
|
|
|
|
target_link_libraries(${NETGAME_MODULE} dmfc)
|
2024-05-08 20:27:25 +00:00
|
|
|
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)
|