Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>C/C++ CMake GeneratorNew to Visual Studio Code? Get it now.
C/C++ CMake Generator

C/C++ CMake Generator

SoronLiu

|
1 install
| (0) | Free
Quickly scaffold C/C++ CMake projects with pre configured templates.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C/C++ Generator

A VSCode extension to quickly generate C/C++ project scaffolds from templates.

Features

  • 📁 Generate C/C++ projects from templates
  • 🔧 Template variable substitution
  • 🎯 Automatic directory structure creation
  • 📂 Open generated project in new window

How to Use

  1. Install this extension
  2. Run the cc: gen command via shortcut or command palette

Template Variables

The following variables are supported in template files:

Variable Description
{{ projectName }} Project name
{{ author }} Author name (from settings)
{{ email }} Email address (from settings)
{{ year }} Current year

Configuration Options

Option Type Default Description
cc.author string "" Set the name of the author
cc.email string "" Set the e-mail address

Commands

Command Description
cc.gen Generate a new C/C++ application/library from template
cc.add Generate a new C/C++ library from template

License

MIT Copyright (c) 2026 Soron Liu

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft