summaryrefslogtreecommitdiff
path: root/src/network/CMakeLists.txt
blob: 3162469c8f866af97a5e2864e3a359d2c09e3724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set(common_network_SRCS
	${CMAKE_CURRENT_SOURCE_DIR}/connection.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/networkpacket.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/packethandlers/server.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/serveropcodes.cpp
	PARENT_SCOPE
)

if (BUILD_CLIENT)
	set(client_network_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/clientopcodes.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/packethandlers/client.cpp
		PARENT_SCOPE
	)
endif(BUILD_CLIENT)