aboutsummaryrefslogtreecommitdiff
path: root/dep/src/zthread
diff options
context:
space:
mode:
Diffstat (limited to 'dep/src/zthread')
-rw-r--r--dep/src/zthread/CMakeLists.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/dep/src/zthread/CMakeLists.txt b/dep/src/zthread/CMakeLists.txt
new file mode 100644
index 00000000000..61fb1310588
--- /dev/null
+++ b/dep/src/zthread/CMakeLists.txt
@@ -0,0 +1,38 @@
+########### next target ###############
+
+SET(ZThread_LIB_SRCS
+ AtomicCount.cxx
+ Condition.cxx
+ ConcurrentExecutor.cxx
+ CountingSemaphore.cxx
+ FastMutex.cxx
+ FastRecursiveMutex.cxx
+ Mutex.cxx
+ RecursiveMutexImpl.cxx
+ RecursiveMutex.cxx
+ Monitor.cxx
+ PoolExecutor.cxx
+ PriorityCondition.cxx
+ PriorityInheritanceMutex.cxx
+ PriorityMutex.cxx
+ PrioritySemaphore.cxx
+ Semaphore.cxx
+ SynchronousExecutor.cxx
+ Thread.cxx
+ ThreadedExecutor.cxx
+ ThreadImpl.cxx
+ ThreadLocalImpl.cxx
+ ThreadQueue.cxx
+ Time.cxx
+ ThreadOps.cxx
+ )
+
+ADD_LIBRARY(ZThread STATIC ${ZThread_LIB_SRCS})
+
+TARGET_LINK_LIBRARIES(ZThread )
+
+SET_TARGET_PROPERTIES(ZThread PROPERTIES VERSION 4.2.0 SOVERSION 4 )
+INSTALL(TARGETS ZThread DESTINATION lib )
+
+
+########### install files ###############