mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
59487976f6
Isolate misc module for better dependency handling.
16 lines
555 B
CMake
16 lines
555 B
CMake
set(HEADERS Entropy.h Entropystr.h EntropyAux.h)
|
|
set(CPPS EntropyBase.cpp EntropyPackets.cpp EntropyRoom.cpp)
|
|
|
|
set(NETGAME_MODULE entropy)
|
|
|
|
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} PRIVATE
|
|
dmfc
|
|
misc
|
|
)
|
|
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)
|