Author: davide Date: Tue Apr 16 14:56:07 2019 New Revision: 358533 URL: http://llvm.org/viewvc/llvm-project?rev=358533&view=rev Log: [tools] Only build lldb-test when needed.
Modified: lldb/trunk/tools/CMakeLists.txt Modified: lldb/trunk/tools/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/CMakeLists.txt?rev=358533&r1=358532&r2=358533&view=diff ============================================================================== --- lldb/trunk/tools/CMakeLists.txt (original) +++ lldb/trunk/tools/CMakeLists.txt Tue Apr 16 14:56:07 2019 @@ -2,7 +2,11 @@ add_subdirectory(argdumper) add_subdirectory(driver) add_subdirectory(intel-features) add_subdirectory(lldb-mi) -add_subdirectory(lldb-test) + +# We want lldb-test to be built only when it's needed, +# i.e. if a target requires it as dependency. The typical +# example is `check-lldb`. So, we pass EXCLUDE_FROM_ALL here. +add_subdirectory(lldb-test EXCLUDE_FROM_ALL) add_lldb_tool_subdirectory(lldb-instr) add_lldb_tool_subdirectory(lldb-vscode) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits