[libc-commits] [libc] [libc] newheadergen: configured cmake (PR #98828)
via libc-commits
libc-commits at lists.llvm.org
Mon Jul 15 15:50:19 PDT 2024
================
@@ -17,676 +17,1301 @@ add_header(
__llvm-libc-common.h
)
-add_gen_header2(
- ctype
- YAML_FILE ../libc/newhdrgen/yaml/ctype.yaml
- DEF_FILE ctype.h.def
- GEN_HDR ctype.h
- DEPENDS
- .llvm_libc_common_h
-)
-
-add_gen_header2(
- dirent
- YAML_FILE ../libc/newhdrgen/yaml/dirent.yaml
- DEF_FILE dirent.h.def
- GEN_HDR dirent.h
- DEPENDS
- .llvm_libc_common_h
- .llvm-libc-types.ino_t
- .llvm-libc-types.DIR
- .llvm-libc-types.struct_dirent
-)
+if (USE_NEW_HEADER_GEN)
+ add_gen_header2(
----------------
aaryanshukla wrote:
add an else statement for the add_gen_header, old headergen.
https://github.com/llvm/llvm-project/pull/98828
More information about the libc-commits
mailing list