[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / libc / src / __support / CPP / CMakeLists.txt
blob6853bfa3b304a344a843ba372a8539600df66bfa
1 add_header_library(
2   algorithm
3   HDRS
4     algorithm.h
7 add_header_library(
8   array
9   HDRS
10     array.h
13 add_header_library(
14   bit
15   HDRS
16     bit.h
17   DEPENDS
18     .type_traits
19     libc.src.__support.macros.attributes
20     libc.src.__support.macros.config
21     libc.src.__support.macros.sanitizer
24 add_header_library(
25   bitset
26   HDRS
27     bitset.h
30 add_header_library(
31   cstddef
32   HDRS
33     cstddef.h
34   DEPENDS
35     .type_traits
38 add_header_library(
39   functional
40   HDRS
41     functional.h
44 add_header_library(
45   limits
46   HDRS
47     limits.h
50 add_header_library(
51   span
52   HDRS
53     span.h
54   DEPENDS
55     .array
56     .type_traits
59 add_header_library(
60   string_view
61   HDRS
62     string_view.h
63   DEPENDS
64     libc.src.__support.common
67 add_header_library(
68   string
69   HDRS
70     string.h
71   DEPENDS
72     libc.include.stdlib
73     .string_view
74     libc.src.__support.common
75     libc.src.__support.integer_to_string
76     libc.src.string.memory_utils.inline_memcpy
77     libc.src.string.memory_utils.inline_memset
78     libc.src.string.string_utils
81 add_header_library(
82   stringstream
83   HDRS
84     stringstream.h
85   DEPENDS
86     .span
87     .string_view
88     libc.src.__support.integer_to_string
91 add_header_library(
92   optional
93   HDRS
94     optional.h
97 add_header_library(
98   type_traits
99   HDRS
100     type_traits.h
101     type_traits/always_false.h
102     type_traits/add_lvalue_reference.h
103     type_traits/add_pointer.h
104     type_traits/add_rvalue_reference.h
105     type_traits/bool_constant.h
106     type_traits/conditional.h
107     type_traits/decay.h
108     type_traits/enable_if.h
109     type_traits/false_type.h
110     type_traits/integral_constant.h
111     type_traits/invoke.h
112     type_traits/invoke_result.h
113     type_traits/is_arithmetic.h
114     type_traits/is_array.h
115     type_traits/is_base_of.h
116     type_traits/is_class.h
117     type_traits/is_const.h
118     type_traits/is_convertible.h
119     type_traits/is_destructible.h
120     type_traits/is_enum.h
121     type_traits/is_floating_point.h
122     type_traits/is_function.h
123     type_traits/is_integral.h
124     type_traits/is_lvalue_reference.h
125     type_traits/is_member_pointer.h
126     type_traits/is_null_pointer.h
127     type_traits/is_object.h
128     type_traits/is_pointer.h
129     type_traits/is_reference.h
130     type_traits/is_rvalue_reference.h
131     type_traits/is_same.h
132     type_traits/is_scalar.h
133     type_traits/is_signed.h
134     type_traits/is_trivially_constructible.h
135     type_traits/is_trivially_copyable.h
136     type_traits/is_trivially_destructible.h
137     type_traits/is_union.h
138     type_traits/is_unsigned.h
139     type_traits/is_void.h
140     type_traits/make_signed.h
141     type_traits/make_unsigned.h
142     type_traits/remove_all_extents.h
143     type_traits/remove_cv.h
144     type_traits/remove_cvref.h
145     type_traits/remove_extent.h
146     type_traits/remove_reference.h
147     type_traits/true_type.h
148     type_traits/type_identity.h
149     type_traits/void_t.h
152 add_header_library(
153   utility
154   HDRS
155     utility.h
156     utility/declval.h
157     utility/forward.h
158     utility/in_place.h
159     utility/integer_sequence.h
160     utility/move.h
163 add_header_library(
164   atomic
165   HDRS
166     atomic.h
169 add_header_library(
170   expected
171   HDRS
172     expected.h
175 add_object_library(
176   new
177   SRCS
178     new.cpp
179   HDRS
180     new.h
181   DEPENDS
182     libc.include.stdlib
183     libc.src.__support.common