[all-commits] [llvm/llvm-project] 9cb222: [cmake] Make gtest include directories a part of t...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Aug 27 06:36:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cb222e749e8392517a138cf6645a7c220d671c8
      https://github.com/llvm/llvm-project/commit/9cb222e749e8392517a138cf6645a7c220d671c8
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-08-27 (Thu, 27 Aug 2020)

  Changed paths:
    M flang/CMakeLists.txt
    M libc/benchmarks/CMakeLists.txt
    M lldb/unittests/TestingSupport/Symbol/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/lib/Testing/Support/CMakeLists.txt
    M llvm/utils/unittest/CMakeLists.txt
    M polly/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Make gtest include directories a part of the library interface

This applies the same fix that D84748 did for macro definitions.
Appropriate include path is now automatically set for all libraries
which link against gtest targets, which avoids the need to set
include_directories in various parts of the project.

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




More information about the All-commits mailing list