[libc] add isascii and toascii implementations
[lldb.git] / libc / src / ctype / CMakeLists.txt
1 add_header_library(
2   ctype_utils
3   HDRS
4     ctype_utils.h
5 )
6
7 add_entrypoint_object(
8   isalnum
9   SRCS
10     isalnum.cpp
11   HDRS
12     isalnum.h
13   DEPENDS
14     .ctype_utils
15 )
16
17 add_entrypoint_object(
18   isalpha
19   SRCS
20     isalpha.cpp
21   HDRS
22     isalpha.h
23   DEPENDS
24     .ctype_utils
25 )
26
27 add_entrypoint_object(
28   isascii
29   SRCS
30     isascii.cpp
31   HDRS
32     isascii.h
33 )
34
35 add_entrypoint_object(
36   isblank
37   SRCS
38     isblank.cpp
39   HDRS
40     isblank.h
41 )
42
43 add_entrypoint_object(
44   iscntrl
45   SRCS
46     iscntrl.cpp
47   HDRS
48     iscntrl.h
49 )
50
51 add_entrypoint_object(
52   isdigit
53   SRCS
54     isdigit.cpp
55   HDRS
56     isdigit.h
57   DEPENDS
58     .ctype_utils
59 )
60
61 add_entrypoint_object(
62   isgraph
63   SRCS
64     isgraph.cpp
65   HDRS
66     isgraph.h
67   DEPENDS
68     .ctype_utils
69 )
70
71 add_entrypoint_object(
72   islower
73   SRCS
74     islower.cpp
75   HDRS
76     islower.h
77   DEPENDS
78     .ctype_utils
79 )
80
81 add_entrypoint_object(
82   isprint
83   SRCS
84     isprint.cpp
85   HDRS
86     isprint.h
87 )
88
89 add_entrypoint_object(
90   ispunct
91   SRCS
92     ispunct.cpp
93   HDRS
94     ispunct.h
95   DEPENDS
96     .ctype_utils
97 )
98
99 add_entrypoint_object(
100   isspace
101   SRCS
102     isspace.cpp
103   HDRS
104     isspace.h
105 )
106
107 add_entrypoint_object(
108   isupper
109   SRCS
110     isupper.cpp
111   HDRS
112     isupper.h
113   DEPENDS
114     .ctype_utils
115 )
116
117 add_entrypoint_object(
118   isxdigit
119   SRCS
120     isxdigit.cpp
121   HDRS
122     isxdigit.h
123   DEPENDS
124     .ctype_utils
125 )
126
127 add_entrypoint_object(
128   tolower
129   SRCS
130     tolower.cpp
131   HDRS
132     tolower.h
133   DEPENDS
134     .ctype_utils
135 )
136
137 add_entrypoint_object(
138   toascii
139   SRCS
140     toascii.cpp
141   HDRS
142     toascii.h
143 )
144
145 add_entrypoint_object(
146   toupper
147   SRCS
148     toupper.cpp
149   HDRS
150     toupper.h
151   DEPENDS
152     .ctype_utils
153 )