aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
blob: 38a28245e829c3150cf5b543ec36c6482270eead (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 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(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
  -DBOOST_ATOMIC_SOURCE
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-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/atomic/src
)
target_link_libraries(restricted-boost-atomic PUBLIC
  contrib-libs-linux-headers
  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
  restricted-boost-winapi
)
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
)