aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/atomic/CMakeLists.txt
blob: 5b62fa5258ada43ef60cf2944850146cae2605e1 (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
# This file was gererated 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(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
  -DBOOST_ATOMIC_SOURCE
  -Wno-everything
)
target_include_directories(restricted-boost-atomic PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
)
target_include_directories(restricted-boost-atomic PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/winapi/include
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src
)
target_link_libraries(restricted-boost-atomic PUBLIC
  contrib-libs-cxxsupp
  restricted-boost-align
  restricted-boost-assert
  restricted-boost-config
  restricted-boost-predef
  restricted-boost-preprocessor
  restricted-boost-static_assert
  restricted-boost-type_traits
)
target_sources(restricted-boost-atomic PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse2.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse41.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/lock_pool.cpp
)