[libc][NFC] Move aligned access implementations to separate header
[llvm-project.git] / libc / src / __support / CPP / CMakeLists.txt
blob147e84c0e39aafb84a7210bea802ed7708ed8568
1 add_header_library(
2   array
3   HDRS
4     array.h
7 add_header_library(
8   bit
9   HDRS
10     bit.h
11   DEPENDS
12     libc.src.__support.macros.properties.compiler
15 add_header_library(
16   bitset
17   HDRS
18     bitset.h
21 add_header_library(
22   cstddef
23   HDRS
24     cstddef.h
25   DEPENDS
26     .type_traits
29 add_header_library(
30   functional
31   HDRS
32     functional.h
35 add_header_library(
36   limits
37   HDRS
38     limits.h
41 add_header_library(
42   span
43   HDRS
44     span.h
45   DEPENDS
46     .array
47     .type_traits
50 add_header_library(
51   string_view
52   HDRS
53     string_view.h
54   DEPENDS
55     libc.src.__support.common
58 add_header_library(
59   string
60   HDRS
61     string.h
62   DEPENDS
63     libc.include.stdlib
64     .string_view
65     libc.src.__support.common
66     libc.src.__support.integer_to_string
67     libc.src.string.memory_utils.memcpy_implementation
68     libc.src.string.memory_utils.memset_implementation
69     libc.src.string.string_utils
72 add_header_library(
73   stringstream
74   HDRS
75     stringstream.h
76   DEPENDS
77     .span
78     .string_view
79     libc.src.__support.integer_to_string
82 add_header_library(
83   optional
84   HDRS
85     optional.h
88 add_header_library(
89   type_traits
90   HDRS
91     type_traits.h
94 add_header_library(
95   utility
96   HDRS
97     utility.h
100 add_header_library(
101   atomic
102   HDRS
103     atomic.h
106 add_header_library(
107   expected
108   HDRS
109     expected.h
112 add_object_library(
113   new
114   SRCS
115     new.cpp
116   HDRS
117     new.h
118   DEPENDS
119     libc.include.stdlib
120     libc.src.__support.common