[all-commits] [llvm/llvm-project] b19913: [cmake] Use CMAKE_GENERATOR to determine if Ninja ...

Michael Forney via All-commits all-commits at lists.llvm.org
Wed Jul 8 04:04:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b19913188d03d59332908f6280af37325bc49492
      https://github.com/llvm/llvm-project/commit/b19913188d03d59332908f6280af37325bc49492
  Author: Michael Forney <mforney at mforney.org>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [cmake] Use CMAKE_GENERATOR to determine if Ninja is used

The name of the make program does not necessarily match "ninja",
especially if an alternative implementation like samurai is used.

Using CMAKE_GENERATOR is a more robust detection method, and is
already used elsewhere in this file.

Differential revision: https://reviews.llvm.org/D77091




More information about the All-commits mailing list