{"id":18313443,"url":"https://github.com/cpp-best-practices/cmake_template","last_synced_at":"2025-05-16T06:08:17.045Z","repository":{"id":41821374,"uuid":"468570888","full_name":"cpp-best-practices/cmake_template","owner":"cpp-best-practices","description":"CMake for C++ Best Practices","archived":false,"fork":false,"pushed_at":"2025-05-01T00:25:02.000Z","size":823,"stargazers_count":1315,"open_issues_count":54,"forks_count":144,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-05-01T01:28:48.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/cpp-best-practices.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"lefticus","patreon":"lefticus"}},"created_at":"2022-03-11T01:45:56.000Z","updated_at":"2025-04-30T01:07:35.000Z","dependencies_parsed_at":"2024-01-23T01:06:50.461Z","dependency_job_id":"2f9b2c9d-f2da-44bd-83a8-f3174ed20023","html_url":"https://github.com/cpp-best-practices/cmake_template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-best-practices%2Fcmake_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-best-practices%2Fcmake_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-best-practices%2Fcmake_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-best-practices%2Fcmake_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpp-best-practices","download_url":"https://codeload.github.com/cpp-best-practices/cmake_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478193,"owners_count":22077676,"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","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":[],"created_at":"2024-11-05T16:27:44.189Z","updated_at":"2025-05-16T06:08:12.033Z","avatar_url":"https://github.com/cpp-best-practices.png","language":"CMake","readme":"# cmake_template\n\n[![ci](https://github.com/cpp-best-practices/cmake_template/actions/workflows/ci.yml/badge.svg)](https://github.com/cpp-best-practices/cmake_template/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/cpp-best-practices/cmake_template/branch/main/graph/badge.svg)](https://codecov.io/gh/cpp-best-practices/cmake_template)\n[![CodeQL](https://github.com/cpp-best-practices/cmake_template/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/cpp-best-practices/cmake_template/actions/workflows/codeql-analysis.yml)\n\n## About cmake_template\n\nThis is a C++ Best Practices GitHub template for getting up and running with C++ quickly.\n\nBy default (collectively known as `ENABLE_DEVELOPER_MODE`)\n\n * Address Sanitizer and Undefined Behavior Sanitizer enabled where possible\n * Warnings as errors\n * clang-tidy and cppcheck static analysis\n * CPM for dependencies\n\nIt includes\n\n * a basic CLI example\n * examples for fuzz, unit, and constexpr testing\n * large GitHub action testing matrix\n\nIt requires\n\n * cmake\n * a compiler\n\n\nThis project gets you started with a simple example of using FTXUI, which happens to also be a game.\n\n\n## Getting Started\n\n### Use the GitHub template\nFirst, click the green `Use this template` button near the top of this page.\nThis will take you to GitHub's ['Generate Repository'](https://github.com/cpp-best-practices/cmake_template/generate)\npage.\nFill in a repository name and short description, and click 'Create repository from template'.\nThis will allow you to create a new repository in your GitHub account,\nprepopulated with the contents of this project.\n\nAfter creating the project please wait until the cleanup workflow has finished \nsetting up your project and committed the changes.\n\nNow you can clone the project locally and get to work!\n\n    git clone https://github.com/\u003cuser\u003e/\u003cyour_new_repo\u003e.git\n\n## More Details\n\n * [Dependency Setup](README_dependencies.md)\n * [Building Details](README_building.md)\n * [Docker](README_docker.md)\n\n## Testing\n\nSee [Catch2 tutorial](https://github.com/catchorg/Catch2/blob/master/docs/tutorial.md)\n\n## Fuzz testing\n\nSee [libFuzzer Tutorial](https://github.com/google/fuzzing/blob/master/tutorial/libFuzzerTutorial.md)\n\n\n","funding_links":["https://github.com/sponsors/lefticus","https://patreon.com/lefticus"],"categories":["Project Starter Templates"],"sub_categories":["Websites"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-best-practices%2Fcmake_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpp-best-practices%2Fcmake_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-best-practices%2Fcmake_template/lists"}