[all-commits] [llvm/llvm-project] 9dd01a: Harmonize cmake_policy() across standalone builds ...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Oct 27 23:47:08 PDT 2022


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

  Changed paths:
    M clang/CMakeLists.txt
    A cmake/Modules/CMakePolicy.cmake
    M flang/CMakeLists.txt
    M lld/CMakeLists.txt
    M lldb/CMakeLists.txt
    M lldb/cmake/modules/LLDBStandalone.cmake
    M llvm/CMakeLists.txt
    M mlir/CMakeLists.txt

  Log Message:
  -----------
  Harmonize cmake_policy() across standalone builds of all projects

Move `cmake_policy()` settings from `llvm/CMakeLists.txt` into a shared
`cmake/modules/CMakePolicy.cmake`.  Include it from all relevant
projects that support standalone builds, in order to ensure that
the policies are consistently set whether they are built in-tree
or stand-alone.

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




More information about the All-commits mailing list