1 # cmake file for drawElements C++ base library 2 3 if (NOT DE_DEFS) 4 message(FATAL_ERROR "Include Defs.cmake") 5 endif () 6 7 set(DECPP_SRCS 8 deBlockBuffer.cpp 9 deBlockBuffer.hpp 10 deCommandLine.cpp 11 deCommandLine.hpp 12 deDefs.cpp 13 deDefs.hpp 14 deDirectoryIterator.cpp 15 deDirectoryIterator.hpp 16 deDynamicLibrary.cpp 17 deDynamicLibrary.hpp 18 deFilePath.cpp 19 deFilePath.hpp 20 deMemPool.cpp 21 deMemPool.hpp 22 deMutex.cpp 23 deMutex.hpp 24 dePoolArray.cpp 25 dePoolArray.hpp 26 dePoolString.cpp 27 dePoolString.hpp 28 deProcess.cpp 29 deProcess.hpp 30 deRandom.cpp 31 deRandom.hpp 32 deRingBuffer.cpp 33 deRingBuffer.hpp 34 deSemaphore.cpp 35 deSemaphore.hpp 36 deSTLUtil.hpp 37 deSTLUtil.cpp 38 deSharedPtr.cpp 39 deSharedPtr.hpp 40 deSocket.cpp 41 deSocket.hpp 42 deStringUtil.cpp 43 deStringUtil.hpp 44 deThread.cpp 45 deThread.hpp 46 deThreadLocal.cpp 47 deThreadLocal.hpp 48 deThreadSafeRingBuffer.cpp 49 deThreadSafeRingBuffer.hpp 50 deUniquePtr.cpp 51 deUniquePtr.hpp 52 deArrayBuffer.cpp 53 deArrayBuffer.hpp 54 ) 55 56 add_library(decpp STATIC ${DECPP_SRCS}) 57 target_link_libraries(decpp debase depool dethread deutil) 58