[Lldb-commits] [lldb] 2bb1545 - [lldb-server] Remove dead CMake code
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 13 11:43:18 PST 2020
Author: Alex Langford
Date: 2020-01-13T11:41:30-08:00
New Revision: 2bb154591fab6c1d3a99d63ef03c234f0a363410
URL: https://github.com/llvm/llvm-project/commit/2bb154591fab6c1d3a99d63ef03c234f0a363410
DIFF: https://github.com/llvm/llvm-project/commit/2bb154591fab6c1d3a99d63ef03c234f0a363410.diff
LOG: [lldb-server] Remove dead CMake code
No files in lldb-server are including a header from a plugin without the
whole path to the header relative to the lldb source directory. There is
no need to include the specific directories as a result.
Added:
Modified:
lldb/tools/lldb-server/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/tools/lldb-server/CMakeLists.txt b/lldb/tools/lldb-server/CMakeLists.txt
index f1c826b44860..7754e9d05cbc 100644
--- a/lldb/tools/lldb-server/CMakeLists.txt
+++ b/lldb/tools/lldb-server/CMakeLists.txt
@@ -1,27 +1,3 @@
-if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
-include_directories(
- ../../../../llvm/include
- ../../source/Plugins/Process/Linux
- ../../source/Plugins/Process/POSIX
- )
-endif ()
-
-if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
-include_directories(
- ../../../../llvm/include
- ../../source/Plugins/Process/FreeBSD
- ../../source/Plugins/Process/POSIX
- )
-endif ()
-
-if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
-include_directories(
- ../../../../llvm/include
- ../../source/Plugins/Process/NetBSD
- ../../source/Plugins/Process/POSIX
- )
-endif ()
-
include_directories(../../source)
set(LLDB_PLUGINS)
More information about the lldb-commits
mailing list