diff options
Diffstat (limited to 'clang/utils/hmaptool/CMakeLists.txt')
-rw-r--r-- | clang/utils/hmaptool/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/utils/hmaptool/CMakeLists.txt b/clang/utils/hmaptool/CMakeLists.txt index 5573009d343..62f2de0cb15 100644 --- a/clang/utils/hmaptool/CMakeLists.txt +++ b/clang/utils/hmaptool/CMakeLists.txt @@ -9,8 +9,15 @@ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/${CLANG_HM DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${CLANG_HMAPTOOL}) list(APPEND Depends ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/${CLANG_HMAPTOOL}) -install(PROGRAMS ${CLANG_HMAPTOOL} DESTINATION bin) +install(PROGRAMS ${CLANG_HMAPTOOL} + DESTINATION bin + COMPONENT hmaptool) add_custom_target(hmaptool ALL DEPENDS ${Depends}) set_target_properties(hmaptool PROPERTIES FOLDER "Utils") +if(NOT LLVM_ENABLE_IDE) + add_llvm_install_targets("install-hmaptool" + DEPENDS hmaptool + COMPONENT hmaptool) +endif() |