[libc++][test] Fix `size_type` issues with `MinSequenceContainer` and `min_allocator...
[llvm-project.git] / libc / src / stdio / gpu / CMakeLists.txt
blobc4ad333e251639d7ddf270fd6f7504abeb4e61fb
1 add_entrypoint_object(
2   stdin
3   SRCS
4     stdin.cpp
5   HDRS
6     ../stdin.h
7   DEPENDS
8     libc.hdr.types.FILE
11 add_entrypoint_object(
12   stdout
13   SRCS
14     stdout.cpp
15   HDRS
16     ../stdout.h
17   DEPENDS
18     libc.hdr.types.FILE
21 add_entrypoint_object(
22   stderr
23   SRCS
24     stderr.cpp
25   HDRS
26     ../stderr.h
27   DEPENDS
28     libc.hdr.types.FILE
31 add_header_library(
32   gpu_file
33   HDRS
34     file.h
35   DEPENDS
36     libc.hdr.types.FILE
37     libc.hdr.stdio_macros
38     libc.src.__support.RPC.rpc_client
39     libc.src.__support.common
40     .stdin
41     .stdout
42     .stderr
45 add_header_library(
46   vfprintf_utils
47   HDRS
48     vfprintf_utils.h
49   DEPENDS
50     .gpu_file
53 add_entrypoint_object(
54   feof
55   SRCS
56     feof.cpp
57   HDRS
58     ../feof.h
59   DEPENDS
60     libc.hdr.types.FILE
61     libc.src.__support.RPC.rpc_client
64 add_entrypoint_object(
65   ferror
66   SRCS
67     ferror.cpp
68   HDRS
69     ../ferror.h
70   DEPENDS
71     libc.hdr.types.FILE
72     libc.src.__support.RPC.rpc_client
75 add_entrypoint_object(
76   fseek
77   SRCS
78     fseek.cpp
79   HDRS
80     ../fseek.h
81   DEPENDS
82     libc.hdr.types.FILE
83     .gpu_file
86 add_entrypoint_object(
87   ftell
88   SRCS
89     ftell.cpp
90   HDRS
91     ../ftell.h
92   DEPENDS
93     libc.hdr.types.FILE
94     .gpu_file
97 add_entrypoint_object(
98   fflush
99   SRCS
100     fflush.cpp
101   HDRS
102     ../fflush.h
103   DEPENDS
104     libc.hdr.types.FILE
105     .gpu_file
108 add_entrypoint_object(
109   clearerr
110   SRCS
111     clearerr.cpp
112   HDRS
113     ../clearerr.h
114   DEPENDS
115     libc.hdr.types.FILE
116     libc.src.__support.RPC.rpc_client
119 add_entrypoint_object(
120   fopen
121   SRCS
122     fopen.cpp
123   HDRS
124     ../fopen.h
125   DEPENDS
126     libc.hdr.types.FILE
129 add_entrypoint_object(
130   fclose
131   SRCS
132     fclose.cpp
133   HDRS
134     ../fclose.h
135   DEPENDS
136     libc.hdr.types.FILE
139 add_entrypoint_object(
140   fread
141   SRCS
142     fread.cpp
143   HDRS
144     ../fread.h
145   DEPENDS
146     libc.hdr.types.FILE
149 add_entrypoint_object(
150   puts
151   SRCS
152     puts.cpp
153   HDRS
154     ../puts.h
155   DEPENDS
156     libc.hdr.types.FILE
157     .gpu_file
160 add_entrypoint_object(
161   fputs
162   SRCS
163     fputs.cpp
164   HDRS
165     ../fputs.h
166   DEPENDS
167     libc.hdr.types.FILE
168     .gpu_file
171 add_entrypoint_object(
172   fwrite
173   SRCS
174     fwrite.cpp
175   HDRS
176     ../fwrite.h
177   DEPENDS
178     libc.hdr.types.FILE
179     .gpu_file
182 add_entrypoint_object(
183   fputc
184   SRCS
185     fputc.cpp
186   HDRS
187     ../fputc.h
188   DEPENDS
189     libc.hdr.types.FILE
190     .gpu_file
193 add_entrypoint_object(
194   putc
195   SRCS
196     putc.cpp
197   HDRS
198     ../putc.h
199   DEPENDS
200     libc.hdr.types.FILE
201     .gpu_file
204 add_entrypoint_object(
205   putchar
206   SRCS
207     putchar.cpp
208   HDRS
209     ../putchar.h
210   DEPENDS
211     libc.hdr.types.FILE
212     .gpu_file
215 add_entrypoint_object(
216   fgetc
217   SRCS
218     fgetc.cpp
219   HDRS
220     ../fgetc.h
221   DEPENDS
222     libc.hdr.types.FILE
223     .gpu_file
226 add_entrypoint_object(
227   getc
228   SRCS
229     getc.cpp
230   HDRS
231     ../getc.h
232   DEPENDS
233     libc.hdr.types.FILE
234     .gpu_file
237 add_entrypoint_object(
238   getchar
239   SRCS
240     getchar.cpp
241   HDRS
242     ../getchar.h
243   DEPENDS
244     libc.hdr.types.FILE
245     .gpu_file
248 add_entrypoint_object(
249   fgets
250   SRCS
251     fgets.cpp
252   HDRS
253     ../fgets.h
254   DEPENDS
255     libc.hdr.types.FILE
256     .gpu_file
257     .feof
258     .ferror
261 add_entrypoint_object(
262   ungetc
263   SRCS
264     ungetc.cpp
265   HDRS
266     ../ungetc.h
267   DEPENDS
268     libc.hdr.types.FILE
269     .gpu_file
272 add_entrypoint_object(
273   remove
274   SRCS
275     remove.cpp
276   HDRS
277     ../remove.h
278   DEPENDS
279     libc.hdr.types.FILE
280     .gpu_file
283 add_entrypoint_object(
284   printf
285   SRCS
286     printf.cpp
287   HDRS
288     ../printf.h
289   DEPENDS
290     .vfprintf_utils
293 add_entrypoint_object(
294   vprintf
295   SRCS
296     vprintf.cpp
297   HDRS
298     ../vprintf.h
299   DEPENDS
300     .vfprintf_utils
303 add_entrypoint_object(
304   fprintf
305   SRCS
306     fprintf.cpp
307   HDRS
308     ../fprintf.h
309   DEPENDS
310     .vfprintf_utils
313 add_entrypoint_object(
314   vfprintf
315   SRCS
316     vfprintf.cpp
317   HDRS
318     ../vfprintf.h
319   DEPENDS
320     .vfprintf_utils
323 add_entrypoint_object(
324   rename
325   SRCS
326     rename.cpp
327   HDRS
328     ../rename.h
329   DEPENDS
330     libc.hdr.types.FILE
331     .gpu_file