davide created this revision.
davide added reviewers: JDevlieghere, friss.
Herald added subscribers: lldb-commits, mgorny.
Herald added a project: LLDB.

Saves some build times, and they're not part of the usual
developer workflow.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60780

Files:
  lldb/tools/CMakeLists.txt


Index: lldb/tools/CMakeLists.txt
===================================================================
--- lldb/tools/CMakeLists.txt
+++ lldb/tools/CMakeLists.txt
@@ -1,10 +1,16 @@
 add_subdirectory(argdumper)
 add_subdirectory(driver)
 add_subdirectory(intel-features)
-add_subdirectory(lldb-instr)
 add_subdirectory(lldb-mi)
 add_subdirectory(lldb-test)
-add_subdirectory(lldb-vscode)
+
+if (LLDB_ENABLE_TOOL_INSTR)
+  add_subdirectory(lldb-instr)
+endif()
+
+if (LLDB_ENABLE_TOOL_VSCODE)
+  add_subdirectory(lldb-vscode)
+endif()
 
 if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
   add_subdirectory(darwin-debug)


Index: lldb/tools/CMakeLists.txt
===================================================================
--- lldb/tools/CMakeLists.txt
+++ lldb/tools/CMakeLists.txt
@@ -1,10 +1,16 @@
 add_subdirectory(argdumper)
 add_subdirectory(driver)
 add_subdirectory(intel-features)
-add_subdirectory(lldb-instr)
 add_subdirectory(lldb-mi)
 add_subdirectory(lldb-test)
-add_subdirectory(lldb-vscode)
+
+if (LLDB_ENABLE_TOOL_INSTR)
+  add_subdirectory(lldb-instr)
+endif()
+
+if (LLDB_ENABLE_TOOL_VSCODE)
+  add_subdirectory(lldb-vscode)
+endif()
 
 if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
   add_subdirectory(darwin-debug)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to