diff options
author | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
commit | 4293db5eae2f63ab7a3073476ad44b43297cc862 (patch) | |
tree | 55008d12b997281d9043f881e6d1766c7d7fafc7 /src/Protocol | |
parent | Merge pull request #1223 from mc-server/fixes (diff) | |
parent | Fixed MSVC bindings generation. (diff) | |
download | cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.gz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.bz2 cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.lz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.xz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.zst cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.zip |
Diffstat (limited to 'src/Protocol')
-rw-r--r-- | src/Protocol/CMakeLists.txt | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt index 849ec27ca..ae447ce54 100644 --- a/src/Protocol/CMakeLists.txt +++ b/src/Protocol/CMakeLists.txt @@ -4,9 +4,29 @@ 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) + +if(NOT MSVC) + add_library(Protocol ${SRCS} ${HDRS}) +endif() |