Skip to content
  • Brad King's avatar
    VS: Simplify MSVC version reporting · 485a940e
    Brad King authored
    Teach Windows-cl.cmake to use CMAKE_(C|CXX)_COMPILER_VERSION to set the
    "MSVC##" and MSVC_VERSION variables.  It no longer needs the IDE generator
    to dictate the version or to detect the version by running the
    command-line tool for NMake and Ninja generators.  Drop configuration of
    CMakeCPlatform.cmake and CMakeCXXPlatform.cmake from Windows-cl.cmake.in
    because all the results it saved are now cheap to compute every time.
    485a940e