summaryrefslogtreecommitdiff
path: root/libc/src/__support/CPP/CMakeLists.txt
blob: 147e84c0e39aafb84a7210bea802ed7708ed8568 (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
add_header_library(
  array
  HDRS
    array.h
)

add_header_library(
  bit
  HDRS
    bit.h
  DEPENDS
    libc.src.__support.macros.properties.compiler
)

add_header_library(
  bitset
  HDRS
    bitset.h
)

add_header_library(
  cstddef
  HDRS
    cstddef.h
  DEPENDS
    .type_traits
)

add_header_library(
  functional
  HDRS
    functional.h
)

add_header_library(
  limits
  HDRS
    limits.h
)

add_header_library(
  span
  HDRS
    span.h
  DEPENDS
    .array
    .type_traits
)

add_header_library(
  string_view
  HDRS
    string_view.h
  DEPENDS
    libc.src.__support.common
)

add_header_library(
  string
  HDRS
    string.h
  DEPENDS
    libc.include.stdlib
    .string_view
    libc.src.__support.common
    libc.src.__support.integer_to_string
    libc.src.string.memory_utils.memcpy_implementation
    libc.src.string.memory_utils.memset_implementation
    libc.src.string.string_utils
)

add_header_library(
  stringstream
  HDRS
    stringstream.h
  DEPENDS
    .span
    .string_view
    libc.src.__support.integer_to_string
)

add_header_library(
  optional
  HDRS
    optional.h
)

add_header_library(
  type_traits
  HDRS
    type_traits.h
)

add_header_library(
  utility
  HDRS
    utility.h
)

add_header_library(
  atomic
  HDRS
    atomic.h
)

add_header_library(
  expected
  HDRS
    expected.h
)

add_object_library(
  new
  SRCS
    new.cpp
  HDRS
    new.h
  DEPENDS
    libc.include.stdlib
    libc.src.__support.common
)