summaryrefslogtreecommitdiffstats
path: root/src/Protocol/CMakeLists.txt
blob: 5426c58fab582c678f3a5adeb27d1d180581357b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

cmake_minimum_required (VERSION 2.6)
project (MCServer)

include_directories ("${PROJECT_SOURCE_DIR}/../")

SET (SRCS
	Authenticator.cpp
	ChunkDataSerializer.cpp
	MojangAPI.cpp
	Protocol125.cpp
	Protocol132.cpp
	Protocol14x.cpp
	Protocol15x.cpp
	Protocol16x.cpp
	Protocol17x.cpp
	Protocol18x.cpp
	ProtocolRecognizer.cpp)

SET (HDRS
	Authenticator.h
	ChunkDataSerializer.h
	MojangAPI.h
	Protocol.h
	Protocol125.h
	Protocol132.h
	Protocol14x.h
	Protocol15x.h
	Protocol16x.h
	Protocol17x.h
	Protocol18x.h
	ProtocolRecognizer.h)

if(NOT MSVC)
	add_library(Protocol ${SRCS} ${HDRS})
endif()