aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
blob: 521fec39df0adc7744ec544a6b78be93d3f38e0b (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
# 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
  -DBOOST_ATOMIC_USE_SSE41
  -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/lock_pool.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse41.cpp
)