On this page
MSVC
Set to true
when the compiler is some version of Microsoft Visual C++ or another compiler simulating the Visual C++ cl
command-line syntax.
See also the MSVC_VERSION
variable.
© 2000–2022 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.23/variable/MSVC.html