{"id":26892410,"url":"https://github.com/kitswas/cpp-project-template","last_synced_at":"2026-05-01T15:31:47.334Z","repository":{"id":134010961,"uuid":"544909096","full_name":"kitswas/CPP-project-template","owner":"kitswas","description":"Secure CMake template for C and C++ projects.","archived":false,"fork":false,"pushed_at":"2025-09-26T16:19:49.000Z","size":363,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T17:44:28.302Z","etag":null,"topics":["beginner-friendly","c","cmake","cpp","template","template-project","tutorial"],"latest_commit_sha":null,"homepage":"https://kitswas.github.io/CPP-project-template/","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitswas.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-03T12:55:13.000Z","updated_at":"2025-09-26T16:19:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcd33f80-0448-43b1-8d3b-d61a429b674e","html_url":"https://github.com/kitswas/CPP-project-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/kitswas/CPP-project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitswas%2FCPP-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitswas%2FCPP-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitswas%2FCPP-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitswas%2FCPP-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitswas","download_url":"https://codeload.github.com/kitswas/CPP-project-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitswas%2FCPP-project-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32502986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["beginner-friendly","c","cmake","cpp","template","template-project","tutorial"],"created_at":"2025-03-31T22:51:05.876Z","updated_at":"2026-05-01T15:31:47.326Z","avatar_url":"https://github.com/kitswas.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C-Plus-Plus Project Template\n\n[This repository](https://github.com/kitswas/CPP-project-template) is a template I made and personally use to bootstrap my C and C++ projects.  \n\nFeel free to use it. It's licenced under [Unlicence](https://unlicense.org).  \nYou will probably want to change the [licence](./LICENCE.MD) after you clone this, though.\n\n## Setting up your workspace\n\nThis project has a [.editorconfig file](https://editorconfig.org/) to enforce project level coding standards.  \nCLion has built-in support,\nVSCode requires [a plugin](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig).\n\nYou can also use [clang-format](https://clang.llvm.org/docs/ClangFormat.html) instead. Uncomment the `include(ClangFormat)` line in the CMakeLists.txt file and delete the .editorconfig file. Add a `.clang-format` file to the root of the project if desired.\n\n## How to run\n\nThis project requires [CMake](https://cmake.org/) to build.\nYour IDE (VSCode or CLion) should automatically detect the CMakeLists.txt file and build the project.\nInstall extensions for CMake support if prompted.  \nIf you are using the command line, you can run the following commands:\n\n```bash\ncmake -B build\ncmake --build build --config Debug\n```\n\nThen execute the following command to run the program:\n\nWindows:\n\n```cmd\n.\\build\\executable\n```\n\nLinux/MacOS:\n\n```bash\n./build/executable\n```\n\n## Generating and Viewing Documentation\n\nThis project uses [Doxygen](https://www.doxygen.nl/index.html) to generate documentation.  \nIf Doxygen is available on your system,  \nYou can generate the documentation by running the `doc` CMake target.\n\n```bash\ncmake -B build\ncmake --build build --target doc\n```\n\nTo get graphs in the documentation, you will need to install [Graphviz](https://graphviz.org/).  \nSet the `HAVE_DOT` option in the Doxyfile to `NO` if you do not have Graphviz installed.\n\nThis repository also has an automated workflow to generate documentatation via Github Actions.  \n\nThe generated documentation can be viewed at [./docs](./docs/index.html).\nDocumentation is auto-generated and deployed to [Github Pages](https://kitswas.github.io/CPP-project-template/).  \n\n\u003e [!NOTE]\n\u003e Disable Actions on your own copy or delete the [workflows](./.github/workflows) folder if you do not want to be billed. (Only for private repos)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitswas%2Fcpp-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitswas%2Fcpp-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitswas%2Fcpp-project-template/lists"}