[Lldb-commits] [lldb] beb768f - [lldb] Clean up Platform/CMakeLists.txt
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 10 05:18:56 PDT 2021
Author: Pavel Labath
Date: 2021-09-10T14:18:41+02:00
New Revision: beb768f40b47e23e05766738edc0e7723e2f98d4
URL: https://github.com/llvm/llvm-project/commit/beb768f40b47e23e05766738edc0e7723e2f98d4
DIFF: https://github.com/llvm/llvm-project/commit/beb768f40b47e23e05766738edc0e7723e2f98d4.diff
LOG: [lldb] Clean up Platform/CMakeLists.txt
Remove comments looking like preprocessor directives (thankfully cmake
does not have those yet), and sort the file.
Added:
Modified:
lldb/source/Plugins/Platform/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Platform/CMakeLists.txt b/lldb/source/Plugins/Platform/CMakeLists.txt
index 5f284e517dcac..7d1e095311cbd 100644
--- a/lldb/source/Plugins/Platform/CMakeLists.txt
+++ b/lldb/source/Plugins/Platform/CMakeLists.txt
@@ -1,17 +1,9 @@
-#if (CMAKE_SYSTEM_NAME MATCHES "Linux")
- add_subdirectory(Linux)
-#elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
- add_subdirectory(FreeBSD)
-#elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- add_subdirectory(NetBSD)
-#elseif (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
- add_subdirectory(OpenBSD)
-#elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
- add_subdirectory(MacOSX)
-#elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
- add_subdirectory(Windows)
-#endif()
-
-add_subdirectory(POSIX)
-add_subdirectory(gdb-server)
add_subdirectory(Android)
+add_subdirectory(FreeBSD)
+add_subdirectory(gdb-server)
+add_subdirectory(Linux)
+add_subdirectory(MacOSX)
+add_subdirectory(NetBSD)
+add_subdirectory(OpenBSD)
+add_subdirectory(POSIX)
+add_subdirectory(Windows)
More information about the lldb-commits
mailing list