aboutsummaryrefslogblamecommitdiffstats
path: root/contrib/restricted/boost/atomic/CMakeLists.linux-x86_64.txt
blob: 91cd44e4614db56026c3fe33cd1f46af5dfa4612 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
 
                                                                                     








                                                                                                 
                          
                                                



                                                             








                                                         
                              
                         
                                              

                                                                                
 
# 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
  -DBOOST_ATOMIC_USE_SSE41
  $<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-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
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse41.cpp
)