[SourceKit/CMake] Use 'tools' install component for the SourceKit tools.

This commit is contained in:
Argyrios Kyrtzidis
2015-11-05 18:24:19 -08:00
parent 0dd045ca04
commit 26fca3a347
3 changed files with 9 additions and 6 deletions

View File

@@ -16,5 +16,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
LINK_FLAGS "-Wl,-rpath -Wl,@executable_path/../lib")
endif()
install(TARGETS complete-test
RUNTIME DESTINATION bin)
swift_install_in_component(tools
TARGETS complete-test
RUNTIME DESTINATION bin)

View File

@@ -10,5 +10,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
LINK_FLAGS "-Wl,-rpath -Wl,@executable_path/../lib")
endif()
install(TARGETS sourcekitd-repl
RUNTIME DESTINATION bin)
swift_install_in_component(tools
TARGETS sourcekitd-repl
RUNTIME DESTINATION bin)

View File

@@ -24,5 +24,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
LINK_FLAGS "-Wl,-rpath -Wl,@executable_path/../lib")
endif()
install(TARGETS sourcekitd-test
RUNTIME DESTINATION bin)
swift_install_in_component(tools
TARGETS sourcekitd-test
RUNTIME DESTINATION bin)