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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88d7508dc479210f07abccb17f0194b66264b125
      https://github.com/llvm/llvm-project/commit/88d7508dc479210f07abccb17f0194b66264b125
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2022-10-27 (Thu, 27 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