10 lines · plain
1install(PROGRAMS hmaptool DESTINATION "${CLANG_TOOLS_INSTALL_DIR}" COMPONENT hmaptool)2add_custom_target(hmaptool ALL DEPENDS "hmaptool")3set_target_properties(hmaptool PROPERTIES FOLDER "Clang/Utils")4 5if(NOT LLVM_ENABLE_IDE)6 add_llvm_install_targets("install-hmaptool"7 DEPENDS hmaptool8 COMPONENT hmaptool)9endif()10