[all-commits] [llvm/llvm-project] 140c13: [CMake][WinMsvc] Replace MSVC_BASE/WINSDK_BASE wit...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Thu Feb 24 11:47:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 140c13d3184d9320493111d55103229d2ad2699b
      https://github.com/llvm/llvm-project/commit/140c13d3184d9320493111d55103229d2ad2699b
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-02-24 (Thu, 24 Feb 2022)

  Changed paths:
    M llvm/cmake/platforms/WinMsvc.cmake

  Log Message:
  -----------
  [CMake][WinMsvc] Replace MSVC_BASE/WINSDK_BASE with LLVM_WINSYSROOT

- Using LLVM_WINSYSROOT would pick up DIA SDK path automatically,
  otherwise llvm-pdbutil has no DIA support.
- Add MSVC_VER to specify VC tools version.
- Make MSVC_VER/WINSDK_VER optional. If not specified, use the highest
  version number like the driver does.

Reviewed By: thakis

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




More information about the All-commits mailing list