[all-commits] [llvm/llvm-project] ecf7a0: [CMake] Disable mvsc warning for new versions
Sebastian Neubauer via All-commits
all-commits at lists.llvm.org
Wed Jan 26 06:08:29 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecf7a0e33883fc8f001445c68a1128866cb81d38
https://github.com/llvm/llvm-project/commit/ecf7a0e33883fc8f001445c68a1128866cb81d38
Author: Sebastian Neubauer <Sebastian.Neubauer at amd.com>
Date: 2022-01-26 (Wed, 26 Jan 2022)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
[CMake] Disable mvsc warning for new versions
Starting with VS 2019, CMake defaults to the x64 host toolchain, so the
warning does not apply anymore.
References:
VS 2017 defaults to x86
https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2015%202017.html?highlight=host#toolset-selection
VS 2019 and 2022 default to x64 for x64 targets
https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2016%202019.html?highlight=host#toolset-selection
https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html?highlight=host#toolset-selection
Differential Revision: https://reviews.llvm.org/D118228
More information about the All-commits
mailing list