44 __stddef_max_align_t.h
61 set(output_dir ${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}/include)
64 clang_tablegen(arm_neon.h -gen-arm-neon
65 SOURCE ${CLANG_SOURCE_DIR}/include/clang/Basic/arm_neon.td)
69 set( src ${CMAKE_CURRENT_SOURCE_DIR}/${f} )
70 set( dst ${output_dir}/${f} )
71 add_custom_command(OUTPUT ${dst}
73 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}
74 COMMENT "Copying clang's ${f}...")
75 list(APPEND out_files ${dst})
78 add_custom_command(OUTPUT ${output_dir}/arm_neon.h
79 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h
80 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h ${output_dir}/arm_neon.h
81 COMMENT "Copying clang's arm_neon.h...")
82 list(APPEND out_files ${output_dir}/arm_neon.h)
84 add_custom_target(clang-headers ALL DEPENDS ${out_files})
85 set_target_properties(clang-headers PROPERTIES FOLDER "Misc")
88 FILES ${files} ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h
89 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
90 DESTINATION lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)