Include clang-check as part of the clang installation.
This also tidies up a couple of other tools we were (partially) installing: * c-index-test was being installed but shouldn't be (it's just a clang-dev tool) * diagtool was being installed in cmake but not make (& shouldn't be installed in either) Review by Manuel Klimek, Doug Gregor, and Chandler Carruth. llvm-svn: 161073
This commit is contained in:
parent
1dfb101835
commit
5ba8be0e9a
|
@ -14,5 +14,3 @@ target_link_libraries(c-index-test
|
|||
set_target_properties(c-index-test
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX)
|
||||
|
||||
install(TARGETS c-index-test RUNTIME DESTINATION bin)
|
||||
|
|
|
@ -17,6 +17,9 @@ INTERNAL_TOOL = 1
|
|||
# No plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS = 1
|
||||
|
||||
# Don't install this. It is used for tests.
|
||||
NO_INSTALL = 1
|
||||
|
||||
LINK_COMPONENTS := support mc
|
||||
USEDLIBS = clang.a clangFrontend.a clangDriver.a \
|
||||
clangTooling.a \
|
||||
|
|
|
@ -6,3 +6,6 @@ target_link_libraries(clang-check
|
|||
clangTooling
|
||||
clangBasic
|
||||
)
|
||||
|
||||
install(TARGETS clang-check
|
||||
RUNTIME DESTINATION bin)
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
CLANG_LEVEL := ../..
|
||||
|
||||
TOOLNAME = clang-check
|
||||
NO_INSTALL = 1
|
||||
|
||||
# No plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS = 1
|
||||
|
|
|
@ -27,6 +27,3 @@ if(UNIX)
|
|||
else()
|
||||
set(CLANGXX_LINK_OR_COPY copy)
|
||||
endif()
|
||||
|
||||
install(TARGETS diagtool
|
||||
RUNTIME DESTINATION bin)
|
||||
|
|
Loading…
Reference in New Issue