1 # Helper function to set up dependencies if they exist.
2 function(add_macro_header name)
5 "" # Optional arguments
6 "HDR" # Single value arguments
7 "" # Multi-value arguments
10 if(TARGET libc.include.llvm-libc-macros.${LIBC_TARGET_OS}.${name})
16 .${LIBC_TARGET_OS}.${name}
25 endfunction(add_macro_header)
27 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
28 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
32 generic_error_number_macros
34 generic-error-number-macros.h
130 sys-resource-macros.h