The Visual Studio 12 2013 generator is removed
Removed as of 2024-11-06. Replacement: A still-supported Visual Studio generator, such as Visual Studio 17 2022. Source: CMake 3.31 release notes (Visual Studio 12 2013 generator removed).
Check a version:
evergreen check pkg:generic/cmake-generator/visual-studio-12-2013
CMake 3.31 removed the Visual Studio 12 2013 generator. Projects and presets that still name that generator cannot configure on CMake 3.31 or newer. CMake 3.31.0 was published on 2024-11-06.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Removed |
| Severity | high |
| Ecosystem | cpp |
| Component | pkg:generic/cmake-generator/visual-studio-12-2013 |
| Affected versions | vers:semver/* |
| Date from the source | 2024-11-06 |
| Replacement | A still-supported Visual Studio generator, such as Visual Studio 17 2022 |
| Evidence last seen | 2026-10-19 |
| Reviewed | 2026-10-19 by arminazimi |
| Review due | 2027-04-17 (180 days after the last review) |
| Rule ID | cpp.cmake.generator.visual-studio-12-2013.removed |
Sources
- CMake 3.31 release notes (Visual Studio 12 2013 generator removed) (accessed 2026-10-19)
- Visual Studio 12 2013 generator documentation (accessed 2026-10-19)
Migration
Constraints
- Update CMake presets, CI matrix generator names, and documented configure commands together so every surface names the same supported generator.
Steps
- Replace the Visual Studio 12 2013 generator. Change every reported generator name from Visual Studio 12 2013 to a supported Visual Studio generator installed on the build hosts.
Verification
cmake -G "Visual Studio 17 2022" -S . -B build: Configure with a supported Visual Studio generator.
Detected by
The cpp detector. See Detectors and Compatibility.
Related
Same ecosystem
- The CMakeFindFrameworks module is deprecated
- The FindGDAL module is deprecated
- CMake policy versions older than 3.10 are deprecated
- CMake policy versions older than 3.5 are removed
Data
This page is generated from registry/cpp.json, rule cpp.cmake.generator.visual-studio-12-2013.removed, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated