[CMake] Align debugserver with lldb-server on Darwin
authorStefan Granitz <stefan.graenitz@gmail.com>
Sat, 20 Jul 2019 11:18:31 +0000 (11:18 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Sat, 20 Jul 2019 11:18:31 +0000 (11:18 +0000)
commitfc0d766511e9c77ccf54bd5bfd8bed342ca6dd18
treefc18a1f10c4e284cd9f876da67057da1e0eb91bb
parent6a3820503910cd839b8f7c2bdb22601d25c4356a
[CMake] Align debugserver with lldb-server on Darwin

Summary: Make debugserver a tool like lldb-server, so it can be included/excluded via `LLDB_TOOL_DEBUGSERVER_BUILD`. This replaces the old `LLDB_NO_DEBUGSERVER` flag. Doing the same for darwin-debug while I am here.

Reviewers: xiaobai, JDevlieghere, davide

Reviewed By: xiaobai, JDevlieghere

Subscribers: mgorny, lldb-commits, #lldb

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D64994

llvm-svn: 366631
lldb/cmake/modules/LLDBConfig.cmake
lldb/test/CMakeLists.txt
lldb/tools/CMakeLists.txt
lldb/unittests/CMakeLists.txt
lldb/unittests/tools/lldb-server/CMakeLists.txt