50 __stddef_max_align_t.h
67 set(output_dir ${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}/include)
70 clang_tablegen(arm_neon.h -gen-arm-neon
71 SOURCE ${CLANG_SOURCE_DIR}/include/clang/Basic/arm_neon.td)
75 set( src ${CMAKE_CURRENT_SOURCE_DIR}/${f} )
76 set( dst ${output_dir}/${f} )
77 add_custom_command(OUTPUT ${dst}
79 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}
80 COMMENT "Copying clang's ${f}...")
81 list(APPEND out_files ${dst})
84 add_custom_command(OUTPUT ${output_dir}/arm_neon.h
85 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h
86 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h ${output_dir}/arm_neon.h
87 COMMENT "Copying clang's arm_neon.h...")
88 list(APPEND out_files ${output_dir}/arm_neon.h)
90 add_custom_target(clang-headers ALL DEPENDS ${out_files})
91 set_target_properties(clang-headers PROPERTIES FOLDER "Misc")
94 FILES ${files} ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h
95 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
96 DESTINATION lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)