[offload] [test] Use test compiler ID rather than host (#124408)
[llvm-project.git] / libc / src / locale / CMakeLists.txt
blob6aaeb2ac31488b20de90979bfa302864698235ec
1 add_object_library(
2   locale
3   SRCS
4     locale.cpp
5   HDRS
6     locale.h
7   DEPENDS
8     libc.include.locale
11 add_entrypoint_object(
12   localeconv
13   SRCS
14     localeconv.cpp
15   HDRS
16     localeconv.h
17   DEPENDS
18     libc.include.locale
19   CXX_STANDARD
20     20 # For designated initializers
23 add_entrypoint_object(
24   newlocale
25   SRCS
26     newlocale.cpp
27   HDRS
28     newlocale.h
29   DEPENDS
30     libc.include.locale
31     .locale
34 add_entrypoint_object(
35   duplocale
36   SRCS
37     duplocale.cpp
38   HDRS
39     duplocale.h
40   DEPENDS
41     libc.include.locale
42     .locale
45 add_entrypoint_object(
46   setlocale
47   SRCS
48     setlocale.cpp
49   HDRS
50     setlocale.h
51   DEPENDS
52     libc.include.locale
53     .locale
56 add_entrypoint_object(
57   uselocale
58   SRCS
59     uselocale.cpp
60   HDRS
61     uselocale.h
62   DEPENDS
63     libc.include.locale
64     .locale
67 add_entrypoint_object(
68   freelocale
69   SRCS
70     freelocale.cpp
71   HDRS
72     freelocale.h
73   DEPENDS
74     libc.include.locale
75     .locale