{"id":20579949,"url":"https://github.com/pbentes/projecttemplate","last_synced_at":"2025-03-06T11:48:13.520Z","repository":{"id":257304469,"uuid":"850846471","full_name":"pbentes/ProjectTemplate","owner":"pbentes","description":"A quick-start CMake project template for C++ projects which utilize a Core/App project architecture","archived":false,"fork":false,"pushed_at":"2024-12-18T01:55:27.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T22:29:16.975Z","etag":null,"topics":["cmake","cpp","template","template-project"],"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/pbentes.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":"2024-09-01T23:52:40.000Z","updated_at":"2024-12-21T22:08:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fb11ff8-98c0-49f9-a46a-09904bef048f","html_url":"https://github.com/pbentes/ProjectTemplate","commit_stats":null,"previous_names":["pbentes/projecttemplate"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbentes%2FProjectTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbentes%2FProjectTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbentes%2FProjectTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbentes%2FProjectTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbentes","download_url":"https://codeload.github.com/pbentes/ProjectTemplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242206006,"owners_count":20089252,"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":["cmake","cpp","template","template-project"],"created_at":"2024-11-16T06:19:11.781Z","updated_at":"2025-03-06T11:48:13.485Z","avatar_url":"https://github.com/pbentes.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/pbentes/ProjectTemplate/actions/workflows/build.yml/badge.svg)](https://github.com/pbentes/ProjectTemplate/actions/workflows/build.yml)\n[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/pbentes/projecttemplate)](https://www.codefactor.io/repository/github/pbentes/projecttemplate)\n![GitHub License](https://img.shields.io/github/license/pbentes/ProjectTemplate)\n\n# C++ Project Starter Template\n\nThis is a quick-start project template for C++ projects which utilise a core/app project architecture. There are two included projects - one called core, and one called app. CMake is used to generate project files.\n\nCore builds into a static library and is meant to contain common code intended for use in multiple applications. App builds into an executable and links the Core static library, as well as provides an include path to core's code.\n\n## Getting Started\n\n1) Clone this repository or use the \"Use this template\" button on GitHub to quickly set up your own repository based on this template\n2) App/ and Core/ are the two projects - you can edit the names of these folders and their contents to suit\n3) The three included CMake build files are CMakeLists.txt, core/CMakeLists.txt and app/CMakeLists.txt - you can edit these to customise your build configurations, edit the names of your projects and workspace/solution, etc.\n4) Create a build folder, cd into it and run `cmake ..` to generate a project\n\nTo build the project run the following commands:\n\n```\ncmake -S . -B build\ncmake --build build\n```\n\n## Included\n\n- Some example code (in app/src, core/src and tests/src) to provide a starting point\n- An example of how to use CMake to fetch dependencies in the vendor folder\n- An example test written using the [GoogleTest](https://google.github.io/googletest/) library\n- .gitignore to ignore project files and binaries\n- Github Actions to check for build status and run the tests\n\n## License\n\nUNLICENSE (see UNLICENSE.txt for more details)\n\n## Credits\n\nThis project template is inspired by TheCherno's [Project Template](https://github.com/TheCherno/ProjectTemplate/tree/master) using Premake5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbentes%2Fprojecttemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbentes%2Fprojecttemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbentes%2Fprojecttemplate/lists"}