aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/container/CMakeLists.txt
blob: ddda932a556f1afcd2214cfc8851ab025792bdb2 (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
38
39
40
41
42
43
44
45
# 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-container)
target_include_directories(restricted-boost-container PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
)
target_link_libraries(restricted-boost-container PUBLIC
  contrib-libs-cxxsupp
  yutil
  restricted-boost-assert
  restricted-boost-config
  restricted-boost-container_hash
  restricted-boost-core
  restricted-boost-intrusive
  restricted-boost-move
  restricted-boost-static_assert
  restricted-boost-type_traits
)
target_sources(restricted-boost-container PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/alloc_lib.c
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/dlmalloc.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/global_resource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/monotonic_buffer_resource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/pool_resource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/synchronized_pool_resource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/unsynchronized_pool_resource.cpp
)
set_property(
  SOURCE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/alloc_lib.c
  APPEND
  PROPERTY
  COMPILE_OPTIONS
  -Wno-deprecated-declarations
  -Wno-incompatible-pointer-types
  -Wno-macro-redefined
  -Wno-null-pointer-arithmetic
)