2015-02-21 11:51:12 +01:00
|
|
|
set(common_network_SRCS
|
2017-08-24 08:28:54 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/address.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/connection.cpp
|
2017-08-25 15:53:56 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/connectionthreads.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/networkpacket.cpp
|
2015-03-16 10:19:13 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/serverpackethandler.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/serveropcodes.cpp
|
2017-08-24 08:28:54 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/socket.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
PARENT_SCOPE
|
|
|
|
)
|
|
|
|
|
|
|
|
if (BUILD_CLIENT)
|
|
|
|
set(client_network_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientopcodes.cpp
|
2015-03-16 10:19:13 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientpackethandler.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
PARENT_SCOPE
|
|
|
|
)
|
2015-02-28 00:05:29 +01:00
|
|
|
endif()
|
|
|
|
|