aboutsummaryrefslogtreecommitdiff
path: root/dep/src/zthread
diff options
context:
space:
mode:
authorraczman <none@none>2009-01-17 09:23:33 -0500
committerraczman <none@none>2009-01-17 09:23:33 -0500
commit09ddc711f4355bb04717a2092b4dc4149f495491 (patch)
tree1be6b369f563027c71842ecc83314de626da5793 /dep/src/zthread
parent87d9f3261e85587e9be1121bc2d62c034443f00f (diff)
Cmake build system for trinity
--HG-- branch : trunk
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 ###############