{"id":15984020,"url":"https://github.com/jgsogo/template-cpp-project","last_synced_at":"2026-01-20T07:02:05.394Z","repository":{"id":38012021,"uuid":"445472255","full_name":"jgsogo/template-cpp-project","owner":"jgsogo","description":"A C++ project using CMake and connected to a _central_ repository of Conan recipes","archived":false,"fork":false,"pushed_at":"2022-07-17T09:03:50.000Z","size":41,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T03:47:20.319Z","etag":null,"topics":["cmake","conan","cpp","template"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgsogo.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}},"created_at":"2022-01-07T09:49:17.000Z","updated_at":"2022-01-22T21:06:40.000Z","dependencies_parsed_at":"2022-09-12T13:12:03.578Z","dependency_job_id":null,"html_url":"https://github.com/jgsogo/template-cpp-project","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/jgsogo/template-cpp-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgsogo%2Ftemplate-cpp-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgsogo%2Ftemplate-cpp-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgsogo%2Ftemplate-cpp-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgsogo%2Ftemplate-cpp-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgsogo","download_url":"https://codeload.github.com/jgsogo/template-cpp-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgsogo%2Ftemplate-cpp-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cmake","conan","cpp","template"],"created_at":"2024-10-08T02:04:17.273Z","updated_at":"2026-01-20T07:02:05.378Z","avatar_url":"https://github.com/jgsogo.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003e ## After installing this template\n\u003e This is just a template to start working in a C++ project. It includes basic folder\n\u003e structure using CMake and Catch2 test framework. It also included some basic Conan files\n\u003e to grab dependencies and start working with CIs.\n\u003e \n\u003e Search for TODO comments to apply the changes that are required to your specific project\n\u003e and spend some time having a look to '.github/workflows' files to adjust them to your needs\n\u003e (usually you can just remove all files starting with underscore).\n\u003e \n\u003e Most of this template is designed to work together with 'https://github.com/jgsogo/conan-recipes'\n\u003e repository, you might need to move some of those files to your own organization.\n\u003e \n\u003e In order to work with `jgsogo/conan-recipes` there are two secrets expected in this repository:\n\u003e * `APP_RECIPES_APP_ID`:  \n\u003e * `APP_RECIPES_PRIVATE_KEY`:\n\u003e \n\u003e These secreats are used by `.github/workflows/published_release.yml` to open a PR to\n\u003e `jgsogo/conan-recipes` when a new release is published in this repository.\n\u003e\n\n\u003c!-- TODO: Use your repository here --\u003e\n[![Build and tests](https://github.com/jgsogo/template-cpp-project/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/jgsogo/template-cpp-project/actions/workflows/ci.yml)\n[![Build and tests](https://github.com/jgsogo/template-cpp-project/actions/workflows/conan_package.yml/badge.svg?event=push)](https://github.com/jgsogo/template-cpp-project/actions/workflows/ci.yml)\n\n## Consume the library\n\nThis library is available as a Conan package in my personal remote repository. To consume it, you just\nneed to add the remote:\n\n\n\u003c!-- TODO: Use your library/version here --\u003e\n```\nconan remote add sogo https://sogo.jfrog.io/artifactory/api/conan/conan-center\nconan install \u003clibrary_name\u003e/\u003clibrary_version\u003e@jgsogo/stable\n```\n\nOr, add the remote and list the reference in your `conanfile.txt/py` file.\n\n\n## Build and run locally\n\n```\nmkdir cmake-build-xxxx \u0026\u0026 cd cmake-build-xxxx\n```\n\n```\nconan lock create --profile:host=../.conan/profiles/cpp20 --profile:build=default --lockfile=../lockfile.json --lockfile-out=lockfile.json --name=cpp-project --version=0.1 ../conanfile.txt --build --update\n```\n\n```\nconan install --lockfile=lockfile.json ../conanfile.txt --build=missing --generator=virtualenv\n```\n\n## Update dependencies\n\n```\nconan lock create --name=cpp-project --version=0.1 --base --lockfile-out lockfile.json --build --profile:host=.conan/profiles/cpp20 --profile:build=default conanfile.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgsogo%2Ftemplate-cpp-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgsogo%2Ftemplate-cpp-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgsogo%2Ftemplate-cpp-project/lists"}