diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-10-04 05:43:20 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-10-04 05:43:20 +0000 |
commit | 5caeb4a9b0ce48df77e6aa1c27f167de4ae6af82 (patch) | |
tree | 7275faecf5beab56154396a99312862caeab4925 /clang/utils/hmaptool | |
parent | cb46b69e3eeae23b99f646e6dd23b1f05f6d8671 (diff) | |
download | llvm-5caeb4a9b0ce48df77e6aa1c27f167de4ae6af82.zip llvm-5caeb4a9b0ce48df77e6aa1c27f167de4ae6af82.tar.gz llvm-5caeb4a9b0ce48df77e6aa1c27f167de4ae6af82.tar.bz2 |
[clang] [cmake] Add distribution install targets for remaining components
Add install targets as necessary to install bash-autocomplete,
scan-build and scan-view via LLVM_DISTRIBUTION_TARGETS.
Differential Revision: https://reviews.llvm.org/D68413
llvm-svn: 373695
Diffstat (limited to 'clang/utils/hmaptool')
-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 5573009..62f2de0 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() |