12345678910111213141516171819202122232425262728293031323334353637 |
- # 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
- )
|