No longer creating the install-clang target for IDEs, as it was never meant for those.

llvm-svn: 252601
This commit is contained in:
Aaron Ballman 2015-11-10 12:51:25 +00:00
parent 990a8d88c8
commit 4960df0db3
1 changed files with 8 additions and 5 deletions

View File

@ -54,11 +54,14 @@ add_dependencies(clang clang-headers)
install(TARGETS clang
RUNTIME DESTINATION bin
COMPONENT clang)
add_custom_target(install-clang
DEPENDS clang
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=clang
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
if(NOT CMAKE_CONFIGURATION_TYPES)
add_custom_target(install-clang
DEPENDS clang
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=clang
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
endif()
if(NOT CLANG_LINKS_TO_CREATE)
set(CLANG_LINKS_TO_CREATE clang++ clang-cl)