5 mach-o/compact_unwind_encoding.h
6 mach-o/compact_unwind_encoding.modulemap
12 add_library(unwind-headers INTERFACE)
13 target_include_directories(unwind-headers INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
15 if(LIBUNWIND_INSTALL_HEADERS)
16 foreach(file ${files})
17 get_filename_component(dir ${file} DIRECTORY)
19 DESTINATION "${LIBUNWIND_INSTALL_INCLUDE_DIR}/${dir}"
20 COMPONENT unwind-headers
21 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
25 if(NOT CMAKE_CONFIGURATION_TYPES)
26 add_custom_target(install-unwind-headers
27 DEPENDS unwind-headers
28 COMMAND "${CMAKE_COMMAND}"
29 -DCMAKE_INSTALL_COMPONENT=unwind-headers
30 -P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake")
31 add_custom_target(install-unwind-headers-stripped DEPENDS install-unwind-headers)