{"id":21935033,"url":"https://github.com/tueda/cmake-template","last_synced_at":"2025-08-22T12:32:57.643Z","repository":{"id":147124968,"uuid":"124374957","full_name":"tueda/cmake-template","owner":"tueda","description":"A CMake template with unit-testing and micro-benchmarking.","archived":false,"fork":false,"pushed_at":"2018-03-10T13:17:17.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T13:43:05.314Z","etag":null,"topics":["benchmarking","c-plus-plus-11","cmake","template","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tueda.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":"2018-03-08T10:22:36.000Z","updated_at":"2018-03-08T10:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f711352-7014-44dc-93cd-aea28d0da3e6","html_url":"https://github.com/tueda/cmake-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tueda/cmake-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcmake-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcmake-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcmake-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcmake-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tueda","download_url":"https://codeload.github.com/tueda/cmake-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcmake-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271637880,"owners_count":24794569,"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":"2025-08-22T02:00:08.480Z","response_time":65,"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":["benchmarking","c-plus-plus-11","cmake","template","unit-testing"],"created_at":"2024-11-29T00:18:09.204Z","updated_at":"2025-08-22T12:32:57.634Z","avatar_url":"https://github.com/tueda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"cmake-template\n==============\n\n[![Build Status](https://travis-ci.org/tueda/cmake-template.svg?branch=master)](https://travis-ci.org/tueda/cmake-template)\n[![pipeline status](https://gitlab.com/tueda/cmake-template/badges/master/pipeline.svg)](https://gitlab.com/tueda/cmake-template/commits/master)\n\nA [CMake](https://cmake.org/) template with\n[doctest](https://github.com/onqtam/doctest) and\n[Google Benchmark](https://github.com/google/benchmark).\n\n\nGet started\n===========\n\n1. Clone this repository.\n2. Squash all the history to make an initial commit.\n\n    ```shell\n    git reset $(git commit-tree HEAD^{tree} -m \"Initial commit\")\n    ```\n\n3. Amend the initial commit by adding/deleting/modifying files. It may be useful\n   to see results of\n\n    ```shell\n    git ls-files     # list of files in the repository\n    git grep -n foo  # lines containing the dummy project name \"foo\"\n    ```\n\nArguable default values you might want to look into:\n\n- Compiler warning flags ([`CMakeLists.txt`](CMakeLists.txt))\n- `ENABLE_NATIVE=ON` ([`CMakeLists.txt`](CMakeLists.txt))\n- Coding conventions: Google ([`.clang-format`](.clang-format))\n- Continuous integration ([`.travis.yml`](.travis.yml), [`.gitlab-ci.yml`](.gitlab-ci.yml))\n\n\nBuild\n=====\n\nA typical CMake build process on Linux is\n\n```shell\ngit submodule update --init\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install ..\nmake\nmake check\nmake bench\nmake install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fcmake-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftueda%2Fcmake-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fcmake-template/lists"}