2024-04-20 12:35:20 +00:00
|
|
|
set(HEADERS lanclient.h)
|
|
|
|
set(CPPS lanclient.cpp)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-20 12:35:20 +00:00
|
|
|
set(NETGAME_MODULE "TCP_IP")
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-22 22:57:47 +00:00
|
|
|
add_library(${NETGAME_MODULE} MODULE ${CPPS} ${HEADERS})
|
2024-04-16 03:43:29 +00:00
|
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES PREFIX "")
|
|
|
|
set_target_properties(${NETGAME_MODULE} PROPERTIES SUFFIX ".d3c")
|
2024-04-18 20:12:19 +00:00
|
|
|
target_link_libraries(${NETGAME_MODULE} inetfile)
|
2024-05-06 18:43:19 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
|
|
|
target_link_libraries(${NETGAME_MODULE} ws2_32)
|
|
|
|
endif()
|