File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ tests with the following command:
5454
5555 ninja -C build libc libm check-libc
5656
57+ To build just the generated headers (useful for troubleshooting):
58+
59+ .. code-block :: sh
60+
61+ ninja -C build generate-libc-headers
62+
5763 To run a specific unit test for a function, you can target it directly using its
5864full name:
5965
Original file line number Diff line number Diff line change @@ -938,8 +938,9 @@ function(get_all_install_header_targets out_var)
938938endfunction (get_all_install_header_targets )
939939
940940get_all_install_header_targets (all_install_header_targets ${TARGET_PUBLIC_HEADERS} )
941+ add_custom_target (generate-libc-headers DEPENDS ${all_install_header_targets} )
941942add_library (libc-headers INTERFACE )
942- add_dependencies (libc-headers ${all_install_header_targets} )
943+ add_dependencies (libc-headers generate-libc-headers )
943944target_include_directories (libc-headers SYSTEM INTERFACE ${LIBC_INCLUDE_DIR} )
944945
945946foreach (target IN LISTS all_install_header_targets)
You can’t perform that action at this time.
0 commit comments