|
| 1 | +cmake_minimum_required(VERSION 3.2) |
| 2 | +project(BaseLib) |
| 3 | + |
| 4 | +add_definitions(-DMAKE_DLL_BaseLib) |
| 5 | + |
| 6 | +SET(LIB_NAME BaseLib) |
| 7 | +SET(SOURCE_PATH ${ONE_SOURCE_DIR}/${LIB_NAME}) |
| 8 | + |
| 9 | +set(SOURCE_FILES |
| 10 | + Collection/BlockingQueue.h |
| 11 | + Collection/Collection.h |
| 12 | + Collection/CollectionUtils.h |
| 13 | + Collection/ConcurrentMap.h |
| 14 | + Collection/ConcurrentSet.h |
| 15 | + Collection/IHeap.h |
| 16 | + Collection/IList.h |
| 17 | + Collection/IMap.h |
| 18 | + Collection/IncludeLibs.h |
| 19 | + Collection/ISet.h |
| 20 | + Collection/PCList.h |
| 21 | + Collection/WeightedFairQueue.h |
| 22 | + Policy/Attempt.h |
| 23 | + Policy/CommonDefines.h |
| 24 | + Policy/Composition.h |
| 25 | + Policy/Computation.h |
| 26 | + Policy/Congestion.h |
| 27 | + Policy/Criterion.h |
| 28 | + Policy/Deadline.h |
| 29 | + Policy/Eviction.h |
| 30 | + Policy/FaultTolerance.h |
| 31 | + Policy/History.h |
| 32 | + Policy/IncludeLibs.h |
| 33 | + Policy/Instance.h |
| 34 | + Policy/Interval.h |
| 35 | + Policy/Invocation.h |
| 36 | + Policy/LeasePlan.h |
| 37 | + Policy/Lifespan.h |
| 38 | + Policy/LoadBalance.h |
| 39 | + Policy/MaxLimit.h |
| 40 | + Policy/MinLimit.h |
| 41 | + Policy/Ordering.h |
| 42 | + Policy/Priority.h |
| 43 | + Policy/Range.h |
| 44 | + Policy/Reaction.h |
| 45 | + Policy/Redundancy.h |
| 46 | + Policy/Reload.h |
| 47 | + Policy/Replay.h |
| 48 | + Policy/Replication.h |
| 49 | + Policy/ResourceLimits.h |
| 50 | + Policy/SizeLimits.h |
| 51 | + Policy/Throughput.h |
| 52 | + Policy/TimeBasedFilter.h |
| 53 | + Policy/Timeout.h |
| 54 | + Policy/Flyweight.h |
| 55 | + Policy/Flyweight.cpp |
| 56 | + Policy/UndoRedo.h |
| 57 | + Policy/Reliability.cpp |
| 58 | + Policy/Reliability.h |
| 59 | + Policy/Communication.h |
| 60 | + Policy/DestinationOrder.h |
| 61 | + Policy/Durability.h |
| 62 | + Policy/LatencyBudget.h |
| 63 | + Policy/Liveliness.h |
| 64 | + Policy/Ownership.h |
| 65 | + Policy/UserData.h |
| 66 | + Policy/Activation.h |
| 67 | + Status/AccessCount.cpp |
| 68 | + Status/AccessCount.h |
| 69 | + Status/AccessStatus.cpp |
| 70 | + Status/AccessStatus.h |
| 71 | + Status/AccessTime.cpp |
| 72 | + Status/AccessTime.h |
| 73 | + Status/EventCount.cpp |
| 74 | + Status/EventCount.h |
| 75 | + Status/EventStatus.cpp |
| 76 | + Status/EventStatus.h |
| 77 | + Status/EventTime.cpp |
| 78 | + Status/EventTime.h |
| 79 | + Status/ExecutionCount.cpp |
| 80 | + Status/ExecutionCount.h |
| 81 | + Status/ExecutionStatus.cpp |
| 82 | + Status/ExecutionStatus.h |
| 83 | + Status/ExecutionTime.cpp |
| 84 | + Status/ExecutionTime.h |
| 85 | + Status/FlowStatus.cpp |
| 86 | + Status/FlowStatus.h |
| 87 | + Status/Fraction.cpp |
| 88 | + Status/Fraction.h |
| 89 | + Status/FutureStatus.cpp |
| 90 | + Status/FutureStatus.h |
| 91 | + Status/IncludeLibs.h |
| 92 | + Status/ObserverStatus.cpp |
| 93 | + Status/ObserverStatus.h |
| 94 | + Status/Rate.cpp |
| 95 | + Status/Rate.h |
| 96 | + Status/SubjectStatus.cpp |
| 97 | + Status/SubjectStatus.h |
| 98 | + Status/EventStatusMethods.h |
| 99 | + Status/Metric.h |
| 100 | + Status/StatusTracker.h |
| 101 | + Status/ActivationStatus.cpp |
| 102 | + Status/ActivationStatus.h |
| 103 | + Strategy/ExecutionChecker.cpp |
| 104 | + Strategy/ExecutionChecker.h |
| 105 | + Strategy/ExecutionStrategy.cpp |
| 106 | + Strategy/ExecutionStrategy.h |
| 107 | + Strategy/IncludeLibs.h |
| 108 | + Templates/ActionHolder.h |
| 109 | + Templates/AnyKeyType.h |
| 110 | + Templates/AnyType.h |
| 111 | + Templates/SharedType.h |
| 112 | + Templates/BasePtrTypes.h |
| 113 | + Templates/BaseTypes.cpp |
| 114 | + Templates/BaseTypes.h |
| 115 | + Templates/ContextObject.h |
| 116 | + Templates/ContextObjectPtr.h |
| 117 | + Templates/CountingHandle.h |
| 118 | + Templates/DoubleCheckedLocking.h |
| 119 | + Templates/EventType.h |
| 120 | + Templates/FactoryTypes.h |
| 121 | + Templates/FilterMethods.h |
| 122 | + Templates/FlyweightTypes.h |
| 123 | + Templates/FunctionHolder.h |
| 124 | + Templates/FunctionPointer.h |
| 125 | + Templates/FunctorHolder.h |
| 126 | + Templates/FutureRunnable.h |
| 127 | + Templates/IncludeLibs.h |
| 128 | + Templates/IntegrationType.h |
| 129 | + Templates/IteratorBase.h |
| 130 | + Templates/KeyType.h |
| 131 | + Templates/TriggerCondition.h |
| 132 | + Templates/LeasingType.h |
| 133 | + Templates/Lifecycle.h |
| 134 | + Templates/MethodInterfaces.h |
| 135 | + Templates/ProtectedBool.h |
| 136 | + Templates/ScheduledFuture.h |
| 137 | + Templates/Serialize.h |
| 138 | + Templates/StateMethods.h |
| 139 | + Templates/StrategyActionMethods.h |
| 140 | + Templates/StrategyContextActionMethods.h |
| 141 | + Templates/SchedulerMethods.h |
| 142 | + Templates/FunctionProxy.h |
| 143 | + Templates/StrategyMethods.h |
| 144 | + Templates/Synchronization.h |
| 145 | + Templates/UtilityFunctions.h |
| 146 | + Templates/NameDescription.h |
| 147 | + Templates/NameDescription.cpp |
| 148 | + Templates/TranslatorValidatorMethods.h |
| 149 | + Templates/Value.h |
| 150 | + Templates/EventData.h |
| 151 | + Templates/ObjectsManager.h |
| 152 | + CommonClasses.cpp |
| 153 | + CommonClasses.h |
| 154 | + CommonDefines.cpp |
| 155 | + CommonDefines.h |
| 156 | + CommonOperators.cpp |
| 157 | + CommonOperators.h |
| 158 | + Count.cpp |
| 159 | + Count.h |
| 160 | + Debug.cpp |
| 161 | + Debug.h |
| 162 | + Duration.cpp |
| 163 | + Duration.h |
| 164 | + ElapsedTimer.cpp |
| 165 | + ElapsedTimer.h |
| 166 | + Exception.cpp |
| 167 | + Exception.h |
| 168 | + ExceptionManager.cpp |
| 169 | + ExceptionManager.h |
| 170 | + Export.h |
| 171 | + Event.h |
| 172 | + Event.cpp |
| 173 | + IncludeLibs.h |
| 174 | + InstanceHandle.cpp |
| 175 | + InstanceHandle.h |
| 176 | + InterruptHandler.cpp |
| 177 | + InterruptHandler.h |
| 178 | + LogDebug.cpp |
| 179 | + LogDebug.h |
| 180 | + Multiton.h |
| 181 | + Mutex.cpp |
| 182 | + Mutex.h |
| 183 | + StdMutex.cpp |
| 184 | + StdMutex.h |
| 185 | + MutexPolicy.cpp |
| 186 | + MutexPolicy.h |
| 187 | + MutexBare.cpp |
| 188 | + MutexBare.h |
| 189 | + MutexLocker.cpp |
| 190 | + MutexLocker.h |
| 191 | + ObjectBase.cpp |
| 192 | + ObjectBase.h |
| 193 | + ObjectManager.cpp |
| 194 | + ObjectManager.h |
| 195 | + Process.h |
| 196 | + ProtectedVar.cpp |
| 197 | + ProtectedVar.h |
| 198 | + ReadLocker.cpp |
| 199 | + ReadLocker.h |
| 200 | + ReadWriteLock.cpp |
| 201 | + ReadWriteLock.h |
| 202 | + Runnable.h |
| 203 | + Singleton.cpp |
| 204 | + Singleton.h |
| 205 | + Thread.cpp |
| 206 | + Thread.h |
| 207 | + StdThread.cpp |
| 208 | + StdThread.h |
| 209 | + GUUID.h |
| 210 | + GUUID.cpp |
| 211 | + ThreadManager.cpp |
| 212 | + ThreadManager.h |
| 213 | + Timestamp.cpp |
| 214 | + Timestamp.h |
| 215 | + ScopedTimers.h |
| 216 | + Typename.cpp |
| 217 | + Typename.h |
| 218 | + Utility.cpp |
| 219 | + Utility.h |
| 220 | + WaitCondition.cpp |
| 221 | + WaitCondition.h |
| 222 | + WaitConditionType.h |
| 223 | + StdWaitCondition.cpp |
| 224 | + StdWaitCondition.h |
| 225 | + InterruptibleWaitCondition.h |
| 226 | + InterruptibleWaitCondition.cpp |
| 227 | + WriteLocker.cpp |
| 228 | + WriteLocker.h |
| 229 | + Collection/RingBufferQueue.h |
| 230 | + Collection/RingBufferQueuePolicy.h |
| 231 | + Collection/RingBufferQueuePolicy.cpp |
| 232 | + ) |
| 233 | + |
| 234 | +include_directories(${ONE_SOURCE_DIR}) |
| 235 | +add_library(BaseLib SHARED ${SOURCE_FILES}) |
0 commit comments