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