1 function(add_proxy_header_library target_name)
4 "" # Optional arguments
5 "" # Single value arguments
6 "DEPENDS;FULL_BUILD_DEPENDS" # Multi-value arguments
11 if(ADD_PROXY_HEADER_DEPENDS)
12 list(APPEND deps ${ADD_PROXY_HEADER_DEPENDS})
15 if(LLVM_LIBC_FULL_BUILD AND ADD_PROXY_HEADER_FULL_BUILD_DEPENDS)
16 list(APPEND deps ${ADD_PROXY_HEADER_FULL_BUILD_DEPENDS})
21 ${ADD_PROXY_HEADER_UNPARSED_ARGUMENTS}
26 add_proxy_header_library(
31 libc.include.llvm-libc-macros.math_macros
35 add_proxy_header_library(
38 math_function_macros.h
40 libc.include.llvm-libc-macros.math_function_macros
44 add_proxy_header_library(
50 libc.include.llvm-libc-macros.error_number_macros
51 libc.include.llvm-libc-macros.generic_error_number_macros
54 add_header_library(fcntl_overlay HDRS fcntl_overlay.h)
55 add_proxy_header_library(
62 libc.include.llvm-libc-macros.fcntl_macros
66 add_proxy_header_library(
71 libc.include.llvm-libc-macros.fenv_macros
75 add_proxy_header_library(
80 libc.include.llvm-libc-macros.signal_macros
84 add_header_library(stdlib_overlay HDRS stdlib_overlay.h)
86 add_proxy_header_library(
94 libc.include.llvm-libc-macros.stdlib_macros
97 add_header_library(stdio_overlay HDRS stdio_overlay.h)
99 add_proxy_header_library(
107 libc.include.llvm-libc-macros.stdio_macros
108 libc.include.llvm-libc-macros.file_seek_macros
111 add_proxy_header_library(
116 libc.include.sys_epoll
117 libc.include.llvm-libc-macros.sys_epoll_macros
120 add_proxy_header_library(
125 libc.include.sys_stat
126 libc.include.llvm-libc-macros.sys_stat_macros
129 add_proxy_header_library(
135 libc.include.llvm-libc-macros.unistd_macros
138 add_proxy_header_library(
144 libc.include.llvm-libc-macros.time_macros
147 add_proxy_header_library(
152 libc.include.llvm-libc-macros.float_macros
157 add_proxy_header_library(
163 libc.include.llvm-libc-macros.limits_macros
166 add_proxy_header_library(
171 libc.include.llvm-libc-macros.link_macros
175 add_proxy_header_library(
180 libc.include.llvm-libc-macros.sys_auxv_macros
181 libc.include.sys_auxv
184 add_header_library(wchar_overlay HDRS wchar_overlay.h)
186 add_proxy_header_library(
193 libc.include.llvm-libc-macros.wchar_macros
197 add_subdirectory(types)
198 add_subdirectory(func)