{"id":25195037,"url":"https://github.com/rvarago/modern-cmake-template","last_synced_at":"2025-07-24T15:34:26.006Z","repository":{"id":110962508,"uuid":"145301028","full_name":"rvarago/modern-cmake-template","owner":"rvarago","description":"CMake template for an example project composed of executable and library","archived":false,"fork":false,"pushed_at":"2020-10-21T09:08:47.000Z","size":34,"stargazers_count":65,"open_issues_count":2,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-08T02:40:30.384Z","etag":null,"topics":["c","cmake","cmake-template","cpp","modern-cmake","modern-cmake-template"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvarago.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}},"created_at":"2018-08-19T12:26:05.000Z","updated_at":"2025-02-28T21:08:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd8c1e1c-cfb8-4145-b86a-1a210e11759b","html_url":"https://github.com/rvarago/modern-cmake-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/rvarago/modern-cmake-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvarago%2Fmodern-cmake-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvarago%2Fmodern-cmake-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvarago%2Fmodern-cmake-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvarago%2Fmodern-cmake-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvarago","download_url":"https://codeload.github.com/rvarago/modern-cmake-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvarago%2Fmodern-cmake-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266862614,"owners_count":23996866,"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-07-24T02:00:09.469Z","response_time":99,"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":["c","cmake","cmake-template","cpp","modern-cmake","modern-cmake-template"],"created_at":"2025-02-10T00:40:59.857Z","updated_at":"2025-07-24T15:34:25.955Z","avatar_url":"https://github.com/rvarago.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modern CMake Template\n\n\u003e Template for projects based on modern CMake practices.\n\nComponents:\n\n- `app`.\n- `libs/lib1`.\n- `libs/lib1/tests`.\n\nSee [How to Use Modern CMake for an App + Lib Project](https://rvarago.github.io/2018/08/20/how-to-use-modern-cmake-for-an-app-p-lib-project.html) for more information.\n\n## Usage\n\nCreate the `build` directory and configure the build system:\n\n```bash\ncmake -B build # Or `cmake -D BUILD_TESTING=OFF -B build` to skip tests. \n```\n\nBuild the project:\n\n```bash\ncmake --build build\n```\n\nInspect the `build` directory to find the application and the tests.\n\nOptionally, run the tests with `ctest` by typing:\n\n```bash\ncmake -E chdir build ctest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvarago%2Fmodern-cmake-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvarago%2Fmodern-cmake-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvarago%2Fmodern-cmake-template/lists"}