diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 0a3e2f4d1..d120c8d3d 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -98,6 +98,8 @@ add_library(common STATIC | |||
| 98 | algorithm.h | 98 | algorithm.h |
| 99 | alignment.h | 99 | alignment.h |
| 100 | assert.h | 100 | assert.h |
| 101 | atomic_ops.cpp | ||
| 102 | atomic_ops.h | ||
| 101 | detached_tasks.cpp | 103 | detached_tasks.cpp |
| 102 | detached_tasks.h | 104 | detached_tasks.h |
| 103 | bit_field.h | 105 | bit_field.h |
| @@ -110,6 +112,8 @@ add_library(common STATIC | |||
| 110 | common_types.h | 112 | common_types.h |
| 111 | dynamic_library.cpp | 113 | dynamic_library.cpp |
| 112 | dynamic_library.h | 114 | dynamic_library.h |
| 115 | fiber.cpp | ||
| 116 | fiber.h | ||
| 113 | file_util.cpp | 117 | file_util.cpp |
| 114 | file_util.h | 118 | file_util.h |
| 115 | hash.h | 119 | hash.h |
| @@ -143,6 +147,8 @@ add_library(common STATIC | |||
| 143 | scm_rev.cpp | 147 | scm_rev.cpp |
| 144 | scm_rev.h | 148 | scm_rev.h |
| 145 | scope_exit.h | 149 | scope_exit.h |
| 150 | spin_lock.cpp | ||
| 151 | spin_lock.h | ||
| 146 | string_util.cpp | 152 | string_util.cpp |
| 147 | string_util.h | 153 | string_util.h |
| 148 | swap.h | 154 | swap.h |
| @@ -163,6 +169,8 @@ add_library(common STATIC | |||
| 163 | vector_math.h | 169 | vector_math.h |
| 164 | virtual_buffer.cpp | 170 | virtual_buffer.cpp |
| 165 | virtual_buffer.h | 171 | virtual_buffer.h |
| 172 | wall_clock.cpp | ||
| 173 | wall_clock.h | ||
| 166 | web_result.h | 174 | web_result.h |
| 167 | zstd_compression.cpp | 175 | zstd_compression.cpp |
| 168 | zstd_compression.h | 176 | zstd_compression.h |
| @@ -173,12 +181,15 @@ if(ARCHITECTURE_x86_64) | |||
| 173 | PRIVATE | 181 | PRIVATE |
| 174 | x64/cpu_detect.cpp | 182 | x64/cpu_detect.cpp |
| 175 | x64/cpu_detect.h | 183 | x64/cpu_detect.h |
| 184 | x64/native_clock.cpp | ||
| 185 | x64/native_clock.h | ||
| 176 | x64/xbyak_abi.h | 186 | x64/xbyak_abi.h |
| 177 | x64/xbyak_util.h | 187 | x64/xbyak_util.h |
| 178 | ) | 188 | ) |
| 179 | endif() | 189 | endif() |
| 180 | 190 | ||
| 181 | create_target_directory_groups(common) | 191 | create_target_directory_groups(common) |
| 192 | find_package(Boost 1.71 COMPONENTS context headers REQUIRED) | ||
| 182 | 193 | ||
| 183 | target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile) | 194 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) |
| 184 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) | 195 | target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak) |