diff options
Diffstat (limited to 'dep/src')
| -rw-r--r-- | dep/src/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | dep/src/g3dlite/CMakeLists.txt | 20 | ||||
| -rw-r--r-- | dep/src/sockets/CMakeLists.txt | 22 | ||||
| -rw-r--r-- | dep/src/zlib/CMakeLists.txt | 20 | ||||
| -rw-r--r-- | dep/src/zthread/CMakeLists.txt | 38 | 
5 files changed, 107 insertions, 0 deletions
| diff --git a/dep/src/CMakeLists.txt b/dep/src/CMakeLists.txt new file mode 100644 index 00000000000..7d6aa26f5fe --- /dev/null +++ b/dep/src/CMakeLists.txt @@ -0,0 +1,7 @@ +add_subdirectory(g3dlite) +add_subdirectory(sockets) +add_subdirectory(zlib) +add_subdirectory(zthread) + + +########### install files ###############
\ No newline at end of file diff --git a/dep/src/g3dlite/CMakeLists.txt b/dep/src/g3dlite/CMakeLists.txt new file mode 100644 index 00000000000..89bea742272 --- /dev/null +++ b/dep/src/g3dlite/CMakeLists.txt @@ -0,0 +1,20 @@ + +########### next target ############### + +SET(g3dlite_STAT_SRCS +   AABox.cpp +   Box.cpp +   Crypto.cpp +   format.cpp +   Matrix3.cpp +   Plane.cpp +   System.cpp +   Triangle.cpp +   Vector3.cpp +   Vector4.cpp +) + +add_library(g3dlite STATIC ${g3dlite_STAT_SRCS}) + + +########### install files ############### diff --git a/dep/src/sockets/CMakeLists.txt b/dep/src/sockets/CMakeLists.txt new file mode 100644 index 00000000000..40ac135a9ae --- /dev/null +++ b/dep/src/sockets/CMakeLists.txt @@ -0,0 +1,22 @@ +SET(trinitysockets_STAT_SRCS +   Base64.cpp +   Exception.cpp +   Ipv4Address.cpp +   Ipv6Address.cpp +   Lock.cpp +   Mutex.cpp +   Parse.cpp +   ResolvServer.cpp +   ResolvSocket.cpp +   Socket.cpp +   SocketHandler.cpp +   StdoutLog.cpp +   StreamSocket.cpp +   TcpSocket.cpp +   Thread.cpp +   UdpSocket.cpp +   Utility.cpp +   socket_include.cpp +) + +add_library(trinitysockets STATIC ${trinitysockets_STAT_SRCS}) diff --git a/dep/src/zlib/CMakeLists.txt b/dep/src/zlib/CMakeLists.txt new file mode 100644 index 00000000000..b8803e81c11 --- /dev/null +++ b/dep/src/zlib/CMakeLists.txt @@ -0,0 +1,20 @@ + +########### next target ############### + +SET(zlib_STAT_SRCS +   adler32.c +   compress.c +   crc32.c +   deflate.c +   example.c +   gzio.c +   infback.c +   inffast.c +   inflate.c +   inftrees.c +   trees.c +   uncompr.c +   zutil.c +) + +add_library(zlib STATIC ${zlib_STAT_SRCS}) 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 ############### | 
