2019-09-22 16:57:54 -04:00
|
|
|
include_directories (SYSTEM "../../lib/jsoncpp/include")
|
2013-12-10 16:39:20 -05:00
|
|
|
|
2014-07-18 03:03:19 -04:00
|
|
|
SET (SRCS
|
|
|
|
Authenticator.cpp
|
|
|
|
ChunkDataSerializer.cpp
|
2017-08-27 17:10:20 -04:00
|
|
|
ForgeHandshake.cpp
|
2014-07-29 11:45:55 -04:00
|
|
|
MojangAPI.cpp
|
2015-03-22 14:46:08 -04:00
|
|
|
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
|
2017-06-14 05:22:51 -04:00
|
|
|
Protocol_1_12.cpp
|
2018-07-31 19:21:44 -04:00
|
|
|
Protocol_1_13.cpp
|
2020-01-03 11:31:13 -05:00
|
|
|
ProtocolPalettes.cpp
|
2015-03-22 14:46:08 -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
|
2017-08-27 17:10:20 -04:00
|
|
|
ForgeHandshake.h
|
2014-07-29 11:45:55 -04:00
|
|
|
MojangAPI.h
|
2015-03-22 14:46:08 -04:00
|
|
|
Packetizer.h
|
2014-07-18 03:03:19 -04:00
|
|
|
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
|
2017-06-14 05:22:51 -04:00
|
|
|
Protocol_1_12.h
|
2018-07-31 19:21:44 -04:00
|
|
|
Protocol_1_13.h
|
2020-01-03 11:31:13 -05:00
|
|
|
ProtocolPalettes.h
|
2015-03-22 14:46:08 -04:00
|
|
|
ProtocolRecognizer.h
|
|
|
|
)
|
2014-07-18 03:03:19 -04:00
|
|
|
|
2015-03-22 14:46:08 -04:00
|
|
|
if (NOT MSVC)
|
2014-07-18 16:26:43 -04:00
|
|
|
add_library(Protocol ${SRCS} ${HDRS})
|
2018-01-03 12:41:16 -05:00
|
|
|
target_link_libraries(Protocol fmt::fmt)
|
2014-07-18 16:26:43 -04:00
|
|
|
endif()
|