{"id":35483055,"url":"https://github.com/mwthinker/cpp-generator-cli","last_synced_at":"2026-01-03T14:03:33.987Z","repository":{"id":65249544,"uuid":"584110598","full_name":"mwthinker/cpp-generator-cli","owner":"mwthinker","description":"Generate a C++ project using vcpkg","archived":false,"fork":false,"pushed_at":"2025-11-12T20:32:44.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T21:22:13.579Z","etag":null,"topics":["cli","cmake","cpp","java","vcpkg"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwthinker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-01T12:12:26.000Z","updated_at":"2025-11-12T20:32:48.000Z","dependencies_parsed_at":"2023-11-23T20:31:42.355Z","dependency_job_id":"1fe27315-3a7a-49f9-a4e9-a14e53263348","html_url":"https://github.com/mwthinker/cpp-generator-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mwthinker/cpp-generator-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwthinker%2Fcpp-generator-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwthinker%2Fcpp-generator-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwthinker%2Fcpp-generator-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwthinker%2Fcpp-generator-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwthinker","download_url":"https://codeload.github.com/mwthinker/cpp-generator-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwthinker%2Fcpp-generator-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28190253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-03T02:00:06.471Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cmake","cpp","java","vcpkg"],"created_at":"2026-01-03T14:02:49.194Z","updated_at":"2026-01-03T14:03:33.979Z","avatar_url":"https://github.com/mwthinker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp-generator-cli [![CI build](https://github.com/mwthinker/cpp-generator-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/mwthinker/cpp-generator-cli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/mwthinker/cpp-generator-cli/graph/badge.svg?token=T6CE5XBPEQ)](https://codecov.io/gh/mwthinker/cpp-generator-cli) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\nA java application based on JDK 25 and maven. Implements a C++ generator CLI.\n\n## How to use\nGenerates a C++ project template based on cmake and vcpkg.\n\nUsage of the generated binary file:  \n```bash\ncppgen --help\nScript to generate a CMake C++ project\n\nUsage: cppgen [-cghkotvV] [-d=DESCRIPTION] [-l=LICENSE] [PROJECT_NAME]\nC++ generator using CMake\n      [PROJECT_NAME]      The project name.\n  -c, --cmake             Run cmake.\n  -d, --description=DESCRIPTION\n                          Short description set in CMakeLists.txt.\n  -g, --gui               Add gui library.\n  -h, --help              Display this help message.\n  -k, --keepFiles         Keep generated files on error.\n  -l, --license=LICENSE   Add MIT license with author.\n  -o, --open              Open visual studio solution.\n  -t, --test              Add test.\n  -v, --version           Display version info.\n  -V, --verbose           Show verbose output.\n```\n\nExample of generating a C++ project and open in Visual Studio C++ 2022:\n```bash\ncppgen.exe --new NewProject -o\n```\n\nA Visual Studio C++ 2022 solution should be opened and ready to be used. Assumes that vcpkg is installed and environment variable VCPKG_ROOT pointing to it. Visual Studio 2022 and CMake \u003e=3.24v must also be installed and available in the PATH environment variable.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwthinker%2Fcpp-generator-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwthinker%2Fcpp-generator-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwthinker%2Fcpp-generator-cli/lists"}