[cmake-developers] MSVC_VERSION

Ben Boeckel ben.boeckel at kitware.com
Fri Nov 20 12:38:20 EST 2015


On Fri, Nov 20, 2015 at 17:22:33 +0000, Robert Goulet wrote:
> I'm looking to find where is MSVC_VERSION defined in CMake? I added a
> new platform support that builds in Visual Studio, but MSVC_VERSION is
> not defined for my new platform and I would like to do it just like we
> do for standard Windows projects. Is it in .cmake files or in .cpp
> files? Thanks!

It appears to be set in:

    Modules/Platform/Windows-MSVC.cmake

--Ben


More information about the cmake-developers mailing list