[libc-commits] [libc] [libc] newheadergen: configured cmake (PR #98828)
via libc-commits
libc-commits at lists.llvm.org
Mon Jul 15 17:29:50 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)
----------------
RoseZhang03 wrote:
option is added in libc/CMakesList.txt. Macro has now been added
https://github.com/llvm/llvm-project/pull/98828
More information about the libc-commits
mailing list