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