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