Descent3/networking/CMakeLists.txt

22 lines
303 B
CMake
Raw Normal View History

set(HEADERS)
set(CPPS
networking.cpp
$<$<PLATFORM_ID:Windows>:
directplay.cpp
>
)
2024-04-16 03:43:29 +00:00
if(WIN32)
set(PLATFORM_LIBS ${DXGUID_LIBRARY})
endif()
2024-06-23 10:48:22 +00:00
add_library(networking STATIC ${HEADERS} ${CPPS})
target_link_libraries(networking PRIVATE
2024-09-23 00:16:07 +00:00
ddebug
2024-05-22 21:59:23 +00:00
ddio
logger
mem
2024-09-15 20:24:07 +00:00
module
${PLATFORM_LIBS}
)