A VS Code extension to quickly generate starter C or C++ projects using CMake.
It sets up a standard project structure with src/, include/, .vscode/, deps/, configs, and helpful defaults.
Features
Generate new C or C++ projects from scratch
Preconfigured CMake 4.0 setup with C23 or C++23
Automatic discovery of GCC, G++, Clang, Clang++, and MSVC compiler executables
Ready-to-use GCC, Clang, and Visual Studio CMake presets
Example main.c or main.cpp
Debug, release, and AddressSanitizer build configurations
.vscode/, .editorconfig, .clang-format, .gitignore, and .gitattributes included
docs/, deps/, .github/, and .gitlab/ directories included
Generated README, changelog, and license files
vcpkg integration ready
Usage
Open an empty folder in VS Code
Press Ctrl+Shift+P and run "C/C++ Generator: Create C Project" or "C/C++ Generator: Create C++ Project", or use the folder context menu
Enter your project name
Review CMakePresets.json; detected GCC and Clang compiler paths are populated automatically