[all-commits] [llvm/llvm-project] 52f398: [lldb] Include gtest in standalone build only if L...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Oct 24 06:52:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52f39853abd46495a6d636c4b035e1b92cf4b833
      https://github.com/llvm/llvm-project/commit/52f39853abd46495a6d636c4b035e1b92cf4b833
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M lldb/CMakeLists.txt
    M lldb/cmake/modules/LLDBStandalone.cmake

  Log Message:
  -----------
  [lldb] Include gtest in standalone build only if LLDB_INCLUDE_TESTS

Build gtest targets when building standalone only if LLDB_INCLUDE_TESTS
is true.  Prior to this change, they were built whenever
LLVM_MAIN_SRC_DIR was available, independently whether tests themselves
would be run.

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




More information about the All-commits mailing list