mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:19:07 +08:00
214 lines
9.2 KiB
Diff
214 lines
9.2 KiB
Diff
bolt/cmake/modules/AddBOLT.cmake | 2 +-
|
|
clang-tools-extra/clang-tidy/tool/CMakeLists.txt | 2 +-
|
|
clang-tools-extra/modularize/CMakeLists.txt | 2 +-
|
|
clang/cmake/modules/AddClang.cmake | 2 +-
|
|
clang/tools/c-index-test/CMakeLists.txt | 2 +-
|
|
clang/tools/clang-format/CMakeLists.txt | 2 +-
|
|
clang/tools/scan-build-py/CMakeLists.txt | 4 ++--
|
|
clang/tools/scan-build/CMakeLists.txt | 2 +-
|
|
clang/tools/scan-view/CMakeLists.txt | 2 +-
|
|
flang/cmake/modules/AddFlang.cmake | 2 +-
|
|
flang/tools/f18/CMakeLists.txt | 2 +-
|
|
flang/tools/flang-driver/CMakeLists.txt | 2 +-
|
|
lld/cmake/modules/AddLLD.cmake | 2 +-
|
|
lld/tools/lld/CMakeLists.txt | 2 +-
|
|
lldb/cmake/modules/AddLLDB.cmake | 2 +-
|
|
15 files changed, 16 insertions(+), 16 deletions(-)
|
|
|
|
diff --git a/bolt/cmake/modules/AddBOLT.cmake b/bolt/cmake/modules/AddBOLT.cmake
|
|
index 1f69b9046320..b0de5186dde4 100644
|
|
--- a/bolt/cmake/modules/AddBOLT.cmake
|
|
+++ b/bolt/cmake/modules/AddBOLT.cmake
|
|
@@ -17,7 +17,7 @@ macro(add_bolt_tool name)
|
|
get_target_export_arg(${name} BOLT export_to_bolttargets)
|
|
install(TARGETS ${name}
|
|
${export_to_bolttargets}
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ RUNTIME DESTINATION "${BOLT_TOOLS_INSTALL_DIR}"
|
|
COMPONENT bolt)
|
|
|
|
if(NOT LLVM_ENABLE_IDE)
|
|
diff --git a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
|
|
index 3ce552872015..ce5a899ebe6d 100644
|
|
--- a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
|
|
+++ b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
|
|
@@ -64,6 +64,6 @@ install(PROGRAMS clang-tidy-diff.py
|
|
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
|
|
COMPONENT clang-tidy)
|
|
install(PROGRAMS run-clang-tidy.py
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT clang-tidy
|
|
RENAME run-clang-tidy)
|
|
diff --git a/clang-tools-extra/modularize/CMakeLists.txt b/clang-tools-extra/modularize/CMakeLists.txt
|
|
index 28635ca1089d..4516c8fb7ad0 100644
|
|
--- a/clang-tools-extra/modularize/CMakeLists.txt
|
|
+++ b/clang-tools-extra/modularize/CMakeLists.txt
|
|
@@ -24,5 +24,5 @@ clang_target_link_libraries(modularize
|
|
)
|
|
|
|
install(TARGETS modularize
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ RUNTIME DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT clang-extras)
|
|
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
|
|
index 75b0080f6715..46e32ddbe0cd 100644
|
|
--- a/clang/cmake/modules/AddClang.cmake
|
|
+++ b/clang/cmake/modules/AddClang.cmake
|
|
@@ -169,7 +169,7 @@ macro(add_clang_tool name)
|
|
get_target_export_arg(${name} Clang export_to_clangtargets)
|
|
install(TARGETS ${name}
|
|
${export_to_clangtargets}
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ RUNTIME DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT ${name})
|
|
|
|
if(NOT LLVM_ENABLE_IDE)
|
|
diff --git a/clang/tools/c-index-test/CMakeLists.txt b/clang/tools/c-index-test/CMakeLists.txt
|
|
index 0ae1b4e55244..7774cd27afcd 100644
|
|
--- a/clang/tools/c-index-test/CMakeLists.txt
|
|
+++ b/clang/tools/c-index-test/CMakeLists.txt
|
|
@@ -49,7 +49,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
|
set_property(TARGET c-index-test APPEND PROPERTY INSTALL_RPATH
|
|
"@executable_path/../../lib")
|
|
else()
|
|
- set(INSTALL_DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
|
+ set(INSTALL_DESTINATION "${CLANG_TOOLS_INSTALL_DIR}")
|
|
endif()
|
|
|
|
install(TARGETS c-index-test
|
|
diff --git a/clang/tools/clang-format/CMakeLists.txt b/clang/tools/clang-format/CMakeLists.txt
|
|
index 30c93f8667c8..5c6f87f62e8e 100644
|
|
--- a/clang/tools/clang-format/CMakeLists.txt
|
|
+++ b/clang/tools/clang-format/CMakeLists.txt
|
|
@@ -36,5 +36,5 @@ install(FILES clang-format.py
|
|
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
|
|
COMPONENT clang-format)
|
|
install(PROGRAMS git-clang-format
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT clang-format)
|
|
diff --git a/clang/tools/scan-build-py/CMakeLists.txt b/clang/tools/scan-build-py/CMakeLists.txt
|
|
index 3aca22c0b0a8..a8283219c99f 100644
|
|
--- a/clang/tools/scan-build-py/CMakeLists.txt
|
|
+++ b/clang/tools/scan-build-py/CMakeLists.txt
|
|
@@ -43,7 +43,7 @@ foreach(BinFile ${BinFiles})
|
|
${CMAKE_BINARY_DIR}/bin/scan-build-py
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/scan-build)
|
|
install (PROGRAMS "bin/scan-build"
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
RENAME scan-build-py
|
|
COMPONENT scan-build-py)
|
|
list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/scan-build-py)
|
|
@@ -56,7 +56,7 @@ foreach(BinFile ${BinFiles})
|
|
${CMAKE_BINARY_DIR}/bin/
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/${BinFile})
|
|
install(PROGRAMS bin/${BinFile}
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT scan-build-py)
|
|
list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/${BinFile})
|
|
endif()
|
|
diff --git a/clang/tools/scan-build/CMakeLists.txt b/clang/tools/scan-build/CMakeLists.txt
|
|
index ef687b0e90a1..47f31efc9174 100644
|
|
--- a/clang/tools/scan-build/CMakeLists.txt
|
|
+++ b/clang/tools/scan-build/CMakeLists.txt
|
|
@@ -47,7 +47,7 @@ if(CLANG_INSTALL_SCANBUILD)
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/${BinFile})
|
|
list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/${BinFile})
|
|
install(PROGRAMS bin/${BinFile}
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT scan-build)
|
|
endforeach()
|
|
|
|
diff --git a/clang/tools/scan-view/CMakeLists.txt b/clang/tools/scan-view/CMakeLists.txt
|
|
index 07aec76ee66f..55a945bb278d 100644
|
|
--- a/clang/tools/scan-view/CMakeLists.txt
|
|
+++ b/clang/tools/scan-view/CMakeLists.txt
|
|
@@ -20,7 +20,7 @@ if(CLANG_INSTALL_SCANVIEW)
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/${BinFile})
|
|
list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/${BinFile})
|
|
install(PROGRAMS bin/${BinFile}
|
|
- DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ DESTINATION "${CLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT scan-view)
|
|
endforeach()
|
|
|
|
diff --git a/flang/cmake/modules/AddFlang.cmake b/flang/cmake/modules/AddFlang.cmake
|
|
index 41ce8738e7bf..d9659c4cf53a 100644
|
|
--- a/flang/cmake/modules/AddFlang.cmake
|
|
+++ b/flang/cmake/modules/AddFlang.cmake
|
|
@@ -115,7 +115,7 @@ macro(add_flang_tool name)
|
|
get_target_export_arg(${name} Flang export_to_flangtargets)
|
|
install(TARGETS ${name}
|
|
${export_to_flangtargets}
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ RUNTIME DESTINATION "${FLANG_TOOLS_INSTALL_DIR}"
|
|
COMPONENT ${name})
|
|
|
|
if(NOT LLVM_ENABLE_IDE)
|
|
diff --git a/flang/tools/f18/CMakeLists.txt b/flang/tools/f18/CMakeLists.txt
|
|
index d7538feef121..ec8b7737ee22 100644
|
|
--- a/flang/tools/f18/CMakeLists.txt
|
|
+++ b/flang/tools/f18/CMakeLists.txt
|
|
@@ -75,7 +75,7 @@ if (NOT WIN32)
|
|
@ONLY
|
|
)
|
|
add_custom_target(flang-to-external-fc ALL DEPENDS ${CMAKE_BINARY_DIR}/bin/flang-to-external-fc)
|
|
- install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/flang-to-external-fc DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
|
+ install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/flang-to-external-fc DESTINATION "${FLANG_TOOLS_INSTALL_DIR}")
|
|
endif()
|
|
|
|
# TODO Move this to a more suitable location
|
|
diff --git a/flang/tools/flang-driver/CMakeLists.txt b/flang/tools/flang-driver/CMakeLists.txt
|
|
index 3ce8b407450d..6b2e2b0dc33a 100644
|
|
--- a/flang/tools/flang-driver/CMakeLists.txt
|
|
+++ b/flang/tools/flang-driver/CMakeLists.txt
|
|
@@ -43,4 +43,4 @@ if(FLANG_PLUGIN_SUPPORT)
|
|
export_executable_symbols_for_plugins(flang-new)
|
|
endif()
|
|
|
|
-install(TARGETS flang-new DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
|
+install(TARGETS flang-new DESTINATION "${FLANG_TOOLS_INSTALL_DIR}")
|
|
diff --git a/lld/cmake/modules/AddLLD.cmake b/lld/cmake/modules/AddLLD.cmake
|
|
index d3924f7243d4..318b41b73705 100644
|
|
--- a/lld/cmake/modules/AddLLD.cmake
|
|
+++ b/lld/cmake/modules/AddLLD.cmake
|
|
@@ -47,7 +47,7 @@ macro(add_lld_tool name)
|
|
get_target_export_arg(${name} LLD export_to_lldtargets)
|
|
install(TARGETS ${name}
|
|
${export_to_lldtargets}
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
+ RUNTIME DESTINATION "${LLD_TOOLS_INSTALL_DIR}"
|
|
COMPONENT ${name})
|
|
|
|
if(NOT CMAKE_CONFIGURATION_TYPES)
|
|
diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt
|
|
index 12628395680b..ee58ed439a3a 100644
|
|
--- a/lld/tools/lld/CMakeLists.txt
|
|
+++ b/lld/tools/lld/CMakeLists.txt
|
|
@@ -29,7 +29,7 @@ lld_target_link_libraries(lld
|
|
)
|
|
|
|
install(TARGETS lld
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
|
+ RUNTIME DESTINATION "${LLD_TOOLS_INSTALL_DIR}")
|
|
|
|
if(NOT LLD_SYMLINKS_TO_CREATE)
|
|
set(LLD_SYMLINKS_TO_CREATE
|
|
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake
|
|
index d47a30f5e109..f0bbc0e50627 100644
|
|
--- a/lldb/cmake/modules/AddLLDB.cmake
|
|
+++ b/lldb/cmake/modules/AddLLDB.cmake
|
|
@@ -216,7 +216,7 @@ function(add_lldb_executable name)
|
|
endif()
|
|
|
|
if(ARG_GENERATE_INSTALL)
|
|
- set(install_dest bin)
|
|
+ set(install_dest "${LLVM_TOOLS_INSTALL_DIR}")
|
|
if(ARG_INSTALL_PREFIX)
|
|
set(install_dest ${ARG_INSTALL_PREFIX})
|
|
endif()
|