2015-02-21 11:51:12 +01:00
|
|
|
set(common_network_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/connection.cpp
|
|
|
|
${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
|
|
|
|
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-03-16 10:19:13 +01:00
|
|
|
endif(BUILD_CLIENT)
|