summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-18 09:48:22 +0200
committerarchshift <admin@archshift.com>2014-07-19 02:41:43 +0200
commitdcaa3262a2b085fa3ea9769c7eee21d3cd48c834 (patch)
treec927fc4d991b185bba592e36b25ef6443a0318eb /src
parentHTTPServer/CMakeLists.txt: Replaced glob with list of files (diff)
downloadcuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar.gz
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar.bz2
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar.lz
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar.xz
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.tar.zst
cuberite-dcaa3262a2b085fa3ea9769c7eee21d3cd48c834.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/CMakeLists.txt37
1 files changed, 32 insertions, 5 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
index dee60b450..8004d4094 100644
--- a/src/OSSupport/CMakeLists.txt
+++ b/src/OSSupport/CMakeLists.txt
@@ -3,12 +3,39 @@ cmake_minimum_required (VERSION 2.6)
project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-file(GLOB SOURCE
- "*.cpp"
- "*.h"
-)
-add_library(OSSupport ${SOURCE})
+SET (SRCS
+ CriticalSection.cpp
+ Errors.cpp
+ Event.cpp
+ File.cpp
+ GZipFile.cpp
+ IsThread.cpp
+ ListenThread.cpp
+ Semaphore.cpp
+ Sleep.cpp
+ Socket.cpp
+ SocketThreads.cpp
+ Thread.cpp
+ Timer.cpp)
+
+SET (HDRS
+ CriticalSection.h
+ Errors.h
+ Event.h
+ File.h
+ GZipFile.h
+ IsThread.h
+ ListenThread.h
+ Queue.h
+ Semaphore.h
+ Sleep.h
+ Socket.h
+ SocketThreads.h
+ Thread.h
+ Timer.h)
+
+add_library(OSSupport ${SRCS} ${HDRS})
if(UNIX)
target_link_libraries(OSSupport pthread)