blob: ae9721da48687f46567a4774125dadb2de3dc446 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(cpp-yt-threading)
target_compile_options(cpp-yt-threading PRIVATE
-Wdeprecated-this-capture
)
target_link_libraries(cpp-yt-threading PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
cpp-yt-assert
cpp-yt-cpu_clock
cpp-yt-system
cpp-yt-memory
)
target_sources(cpp-yt-threading PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/at_fork.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/count_down_latch.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/event_count.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/fork_aware_spin_lock.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/fork_aware_rw_spin_lock.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/futex.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/notification_handle.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/public.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/recursive_spin_lock.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/rw_spin_lock.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock_base.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock_count.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_wait.cpp
${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_wait_hook.cpp
)
|