mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
44806e77f0
Using names as defined in Steam installation.
17 lines
694 B
CMake
17 lines
694 B
CMake
set(HEADERS anarchystr.h Anarchy.h)
|
|
set(CPPS anarchy.cpp)
|
|
|
|
set(NETGAME_MODULE anarchy)
|
|
|
|
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")
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES LIBRARY_OUTPUT_NAME "anarchy")
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "$<TARGET_FILE_DIR:Descent3>/netgames")
|
|
|
|
target_link_libraries(${NETGAME_MODULE} PRIVATE
|
|
dmfc
|
|
)
|
|
install(TARGETS "${NETGAME_MODULE}" DESTINATION ${CMAKE_INSTALL_LIBDIR}/netgames)
|