2013-12-10 16:39:20 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
project (MCServer)
|
|
|
|
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
|
|
|
|
2014-07-18 03:03:19 -04:00
|
|
|
SET (SRCS
|
|
|
|
Authenticator.cpp
|
|
|
|
ChunkDataSerializer.cpp
|
2014-07-29 11:45:55 -04:00
|
|
|
MojangAPI.cpp
|
2014-07-18 03:03:19 -04:00
|
|
|
Protocol125.cpp
|
|
|
|
Protocol132.cpp
|
|
|
|
Protocol14x.cpp
|
|
|
|
Protocol15x.cpp
|
|
|
|
Protocol16x.cpp
|
|
|
|
Protocol17x.cpp
|
2014-09-03 18:29:36 -04:00
|
|
|
Protocol18x.cpp
|
2014-07-18 03:03:19 -04:00
|
|
|
ProtocolRecognizer.cpp)
|
2013-12-18 19:11:04 -05:00
|
|
|
|
2014-07-18 03:03:19 -04:00
|
|
|
SET (HDRS
|
|
|
|
Authenticator.h
|
|
|
|
ChunkDataSerializer.h
|
2014-07-29 11:45:55 -04:00
|
|
|
MojangAPI.h
|
2014-07-18 03:03:19 -04:00
|
|
|
Protocol.h
|
|
|
|
Protocol125.h
|
|
|
|
Protocol132.h
|
|
|
|
Protocol14x.h
|
|
|
|
Protocol15x.h
|
|
|
|
Protocol16x.h
|
|
|
|
Protocol17x.h
|
2014-09-03 18:29:36 -04:00
|
|
|
Protocol18x.h
|
2014-07-18 03:03:19 -04:00
|
|
|
ProtocolRecognizer.h)
|
|
|
|
|
2014-07-18 16:26:43 -04:00
|
|
|
if(NOT MSVC)
|
|
|
|
add_library(Protocol ${SRCS} ${HDRS})
|
|
|
|
endif()
|