{"id":15136928,"url":"https://github.com/gtroshin/cpp-cmake-conan","last_synced_at":"2026-01-18T23:33:05.501Z","repository":{"id":65502812,"uuid":"593335059","full_name":"gtroshin/cpp-cmake-conan","owner":"gtroshin","description":"Basic C++ project using CMake \u0026 Conan","archived":false,"fork":false,"pushed_at":"2023-01-31T14:47:14.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:45:29.584Z","etag":null,"topics":["cmake","conan","cpp"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":false,"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/gtroshin.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}},"created_at":"2023-01-25T19:12:44.000Z","updated_at":"2023-01-26T19:30:15.000Z","dependencies_parsed_at":"2023-02-14T16:20:15.024Z","dependency_job_id":null,"html_url":"https://github.com/gtroshin/cpp-cmake-conan","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gtroshin/cpp-cmake-conan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtroshin%2Fcpp-cmake-conan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtroshin%2Fcpp-cmake-conan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtroshin%2Fcpp-cmake-conan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtroshin%2Fcpp-cmake-conan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtroshin","download_url":"https://codeload.github.com/gtroshin/cpp-cmake-conan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtroshin%2Fcpp-cmake-conan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28553516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T23:10:22.888Z","status":"ssl_error","status_checked_at":"2026-01-18T23:07:19.656Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"],"created_at":"2024-09-26T06:41:50.495Z","updated_at":"2026-01-18T23:33:05.485Z","avatar_url":"https://github.com/gtroshin.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic C++ project using CMake \u0026 Conan\r\n![CMake 3.25.2](https://img.shields.io/badge/CMake-3.25.2-blue.svg)\r\n[![Build and Test](https://github.com/gtroshin/cpp-cmake-conan/actions/workflows/build-test.yml/badge.svg)](https://github.com/gtroshin/cpp-cmake-conan/actions/workflows/build-test.yml)\r\n\r\nThe application being built is an MD5 hash calculator using the Poco Libraries. [Inspired by this project.](https://github.com/conan-io/examples/tree/master/libraries/poco/md5)\r\n\r\n## Requirements\r\n\r\nThe following tools are in the foundation to be able to develop this project. \r\n\r\nPlease follow the linked official guides with a installation instructions depending on your platform.\r\n\r\nThis project has been tested on Linux and macOS.\r\n\r\n* [CMake 3.25.2](https://cmake.org/cmake/help/v3.25/index.html)\r\n* [Conan](https://conan.io/downloads.html)\r\n\r\n## Development\r\n\r\nThis project can be built and run locally on Linux and macOS and you can decide to use a Docker environment.\r\n\r\nRun the following command to launch the bash environment with pre-installed CMake and Conan in a container. [More details are here.](https://docs.conan.io/en/latest/howtos/run_conan_in_docker.html#docker-conan)\r\n\r\n\r\n```sh\r\n# start up a docker container\r\ndocker run -it --rm --name conangcc11 conanio/gcc11-ubuntu16.04 /bin/bash\r\n```\r\n\r\nRun the following commands to build and execute test in the project (macOS/Debug).\r\n\r\n```sh\r\n# create a build folder\r\nmkdir build \u0026\u0026 cd build\r\n# install the dependencies using conan\r\nconan install -s build_type=Debug .. --build=missing\r\n# build\r\ncmake .. -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Debug\r\ncmake --build .\r\n# test\r\nctest -C Debug\r\n```\r\n\r\n## CI/CD\r\n\r\nThe Continues Integration uses GitHub Actions workflow that includes `build` and `test` jobs run in an OS matrix to cover the latest available Linux and macOS distributives. As well as the `release` job that is only triggered when the new release is published and attaches binaries to the relevant release. Additionally, the workflow can be triggered via `workflow_dispatch` event, manually.\r\n\r\n## Release process\r\n\r\nThe release can be created via the GitHub UI where an engineer can create a tag at the same time. Local tag creation and pushing it to remote will not trigger a workflow. \r\n\r\n\r\n## Usefull links\r\n\r\n[GoogleTest Testing framework that is used to tun tests in this project](https://google.github.io/googletest/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtroshin%2Fcpp-cmake-conan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtroshin%2Fcpp-cmake-conan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtroshin%2Fcpp-cmake-conan/lists"}