summaryrefslogtreecommitdiffstats
path: root/lldb/tools/driver
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-12-15 22:01:17 +0000
committerChris Bieneman <beanz@apple.com>2016-12-15 22:01:17 +0000
commitd69b9414b3cbd2ba738e7d48159643c69633c4d2 (patch)
tree68d7d93e42f9cb3b3a3da3ffe9a27e602ba3a13e /lldb/tools/driver
parent40f05dcec915668ad7c5f74b1d556f12ea9049ec (diff)
downloadbcm5719-llvm-d69b9414b3cbd2ba738e7d48159643c69633c4d2.tar.gz
bcm5719-llvm-d69b9414b3cbd2ba738e7d48159643c69633c4d2.zip
[CMake] Refactor LLDB libraries and tools to be components
In LLVM's CMake we have a convention that components have both a build and an install target. Making LLDB follow this convention will allow LLDB to take advantage of the LLVM_DISTRIBUTION_COMPONENTS build option from LLVM. llvm-svn: 289879
Diffstat (limited to 'lldb/tools/driver')
-rw-r--r--lldb/tools/driver/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/tools/driver/CMakeLists.txt b/lldb/tools/driver/CMakeLists.txt
index 5d7f79bd87e..73f065d4357 100644
--- a/lldb/tools/driver/CMakeLists.txt
+++ b/lldb/tools/driver/CMakeLists.txt
@@ -1,6 +1,6 @@
include(${LLDB_PROJECT_ROOT}/cmake/LLDBDependencies.cmake)
-add_lldb_executable(lldb
+add_lldb_tool(lldb
Driver.cpp
Platform.cpp
)
@@ -32,5 +32,3 @@ endif()
set_target_properties(lldb PROPERTIES VERSION ${LLDB_VERSION})
-install(TARGETS lldb
- RUNTIME DESTINATION bin)
OpenPOWER on IntegriCloud