Protocol/CMakeLists.txt: Replaced glob with list of files
This commit is contained in:
parent
61c4e2e5cb
commit
15aacc24a5
@ -4,9 +4,27 @@ project (MCServer)
|
||||
|
||||
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
||||
|
||||
file(GLOB SOURCE
|
||||
"*.cpp"
|
||||
"*.h"
|
||||
)
|
||||
SET (SRCS
|
||||
Authenticator.cpp
|
||||
ChunkDataSerializer.cpp
|
||||
Protocol125.cpp
|
||||
Protocol132.cpp
|
||||
Protocol14x.cpp
|
||||
Protocol15x.cpp
|
||||
Protocol16x.cpp
|
||||
Protocol17x.cpp
|
||||
ProtocolRecognizer.cpp)
|
||||
|
||||
add_library(Protocol ${SOURCE})
|
||||
SET (HDRS
|
||||
Authenticator.h
|
||||
ChunkDataSerializer.h
|
||||
Protocol.h
|
||||
Protocol125.h
|
||||
Protocol132.h
|
||||
Protocol14x.h
|
||||
Protocol15x.h
|
||||
Protocol16x.h
|
||||
Protocol17x.h
|
||||
ProtocolRecognizer.h)
|
||||
|
||||
add_library(Protocol ${SRCS} ${HDRS})
|
||||
|
Loading…
Reference in New Issue
Block a user