{"id":22552990,"url":"https://github.com/sirius-mhlee/cpp-boilerplate","last_synced_at":"2026-05-04T03:34:30.511Z","repository":{"id":163957060,"uuid":"504734553","full_name":"sirius-mhlee/cpp-boilerplate","owner":"sirius-mhlee","description":"C++ Boilerplate using CMake, Boost, OpenCV, Gcov, GCOVR, Cppcheck and GTest","archived":false,"fork":false,"pushed_at":"2025-01-09T07:16:06.000Z","size":780,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T10:26:22.397Z","etag":null,"topics":["boilerplate","boost","cmake","cpp","cppcheck","gcov","gcovr","gtest","opencv"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sirius-mhlee.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}},"created_at":"2022-06-18T03:31:05.000Z","updated_at":"2025-01-09T07:16:10.000Z","dependencies_parsed_at":"2024-02-03T07:24:23.676Z","dependency_job_id":"c68a1e35-ab08-4cda-b221-cfa06e0c2245","html_url":"https://github.com/sirius-mhlee/cpp-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sirius-mhlee/cpp-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius-mhlee%2Fcpp-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius-mhlee%2Fcpp-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius-mhlee%2Fcpp-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius-mhlee%2Fcpp-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sirius-mhlee","download_url":"https://codeload.github.com/sirius-mhlee/cpp-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius-mhlee%2Fcpp-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["boilerplate","boost","cmake","cpp","cppcheck","gcov","gcovr","gtest","opencv"],"created_at":"2024-12-07T18:08:16.184Z","updated_at":"2026-05-04T03:34:30.495Z","avatar_url":"https://github.com/sirius-mhlee.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Boilerplate\n\nC++ Boilerplate using CMake, Boost, OpenCV, Gcov, GCOVR, Cppcheck and GTest\n\n## Requirement\n\n- CMake (3.16.3)\n- Boost (1.71.0)\n- OpenCV (4.2.0)\n- g++/Gcov (9.4.0)\n- GCOVR (7.2)\n- Cppcheck (1.90)\n- GTest (1.11.0)\n- Ninja (1.10.0)\n\n```shell\nsudo apt install build-essential libboost-all-dev libopencv-dev cmake ninja-build cppcheck\npip install gcovr\n```\n\n## Generate\n\n```shell\ncmake -S . -B build -G Ninja\n```\n\n![generate_result.png](./example/generate_result.png)\n\n## Build\n\n\u003e Need `Generate` step\n\n```shell\ncd build\ncmake --build . --target all\n```\n\n## Test\n\n\u003e Need `Generate`, `Build` step\n\n```shell\ncd build\nctest -j2 --output-on-failure\n```\n\n![test_result.png](./example/test_result.png)\n\n## Coverage\n\n\u003e Need `Generate`, `Build`, `Test` step\n\n``` shell\ncd build\ncmake --build . --target test1_cov\n```\n\n![coverage_result.png](./example/coverage_result.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirius-mhlee%2Fcpp-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirius-mhlee%2Fcpp-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirius-mhlee%2Fcpp-boilerplate/lists"}