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