cmake / 3.20 / variable / msvc.html /

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–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.20/variable/MSVC.html