aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt
blob: a412ee1676ee5ec743dfb537580e5bc43a8ce981 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# 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(libs-cxxsupp-libcxx)
target_compile_options(libs-cxxsupp-libcxx PUBLIC
  -nostdinc++
  -DLIBCXX_BUILDING_LIBCXXRT
  -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES
)
target_compile_options(libs-cxxsupp-libcxx PRIVATE
  -D_LIBCPP_BUILDING_LIBRARY
  -Wno-everything
)
target_include_directories(libs-cxxsupp-libcxx PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxrt/include
)
target_include_directories(libs-cxxsupp-libcxx PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src
)
target_link_libraries(libs-cxxsupp-libcxx PUBLIC
  contrib-libs-linux-headers
  libs-cxxsupp-libcxxabi-parts
  libs-cxxsupp-libcxxrt
  libs-cxxsupp-builtins
)
target_sources(libs-cxxsupp-libcxx PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/algorithm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/any.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/assert.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/atomic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/barrier.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/bind.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/charconv.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/chrono.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/condition_variable.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/condition_variable_destructor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/debug.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/exception.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/filesystem/directory_iterator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/filesystem/operations.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/functional.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/future.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/hash.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/ios.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/ios.instantiations.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/iostream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/legacy_pointer_safety.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/locale.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/memory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/mutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/mutex_destructor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/optional.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/random.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/random_shuffle.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/regex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/ryu/d2fixed.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/shared_mutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/stdexcept.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/string.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/strstream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/system_error.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/thread.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/typeinfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/utility.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/valarray.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/variant.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/vector.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/format.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/src/new.cpp
)