1
0
cuberite-2a/src/Protocol/CMakeLists.txt

40 lines
679 B
CMake
Raw Normal View History

2019-09-22 16:57:54 -04:00
include_directories (SYSTEM "../../lib/jsoncpp/include")
2013-12-10 16:39:20 -05:00
SET (SRCS
Authenticator.cpp
ChunkDataSerializer.cpp
ForgeHandshake.cpp
MojangAPI.cpp
Packetizer.cpp
2016-12-15 14:21:43 -05:00
Protocol_1_8.cpp
Protocol_1_9.cpp
Protocol_1_10.cpp
Protocol_1_11.cpp
Protocol_1_12.cpp
Protocol_1_13.cpp
ProtocolPalettes.cpp
ProtocolRecognizer.cpp
)
2013-12-18 19:11:04 -05:00
SET (HDRS
Authenticator.h
ChunkDataSerializer.h
ForgeHandshake.h
MojangAPI.h
Packetizer.h
Protocol.h
2016-12-15 14:21:43 -05:00
Protocol_1_8.h
Protocol_1_9.h
Protocol_1_10.h
Protocol_1_11.h
Protocol_1_12.h
Protocol_1_13.h
ProtocolPalettes.h
ProtocolRecognizer.h
)
if (NOT MSVC)
add_library(Protocol ${SRCS} ${HDRS})
target_link_libraries(Protocol fmt::fmt)
endif()