{"id":13407675,"url":"https://github.com/conan-io/examples","last_synced_at":"2026-03-09T04:30:58.573Z","repository":{"id":34792274,"uuid":"172118598","full_name":"conan-io/examples","owner":"conan-io","description":"Conan 1.x examples","archived":false,"fork":false,"pushed_at":"2023-06-16T11:29:28.000Z","size":2133,"stargazers_count":126,"open_issues_count":24,"forks_count":66,"subscribers_count":16,"default_branch":"master","last_synced_at":"2026-01-24T16:52:21.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/conan-io.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":"2019-02-22T18:53:22.000Z","updated_at":"2025-12-15T23:56:18.000Z","dependencies_parsed_at":"2024-09-21T11:00:50.742Z","dependency_job_id":"6c17858d-2bbf-486c-a2c8-e0d578e39d12","html_url":"https://github.com/conan-io/examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/conan-io/examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conan-io%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conan-io%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conan-io%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conan-io%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conan-io","download_url":"https://codeload.github.com/conan-io/examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conan-io%2Fexamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"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":[],"created_at":"2024-07-30T20:00:46.691Z","updated_at":"2026-03-09T04:30:58.538Z","avatar_url":"https://github.com/conan-io.png","language":"Python","funding_links":[],"categories":["Python","Resources"],"sub_categories":["Official links"],"readme":"[![Build Status](https://ci.conan.io/buildStatus/icon?job=Examples/master)](https://ci.conan.io/job/Examples/job/master/)\n\n\u003e :warning: **Important**: These examples are for Conan 1.X. For the latest version of the\n\u003e examples, compatible with Conan 2.X, please refer to the [new\n\u003e repository](https://github.com/conan-io/examples2).\n\n# Conan 1.X Examples\n\nSeveral Conan 1.X examples to complement the documentation and blog.\n\n## Examples\n\n### [Getting started with Conan](libraries/poco/md5)\n\nExample how to use Conan to consume binaries.\n\nDocumentation: https://docs.conan.io/en/latest/getting_started.html\n\n### [Package development flow](features/package_development_flow)\n\nExample how to use Conan commands to develop a package recipe.\n\nDocumentation: https://docs.conan.io/en/latest/developing_packages/package_dev_flow.html\n\n### [Workspace](features/workspace)\n\nExample how to use Conan Workspaces.\n\nDocumentation: https://docs.conan.io/en/latest/developing_packages/workspaces.html\n\n### [Editable Packages](features/editable)\n\nExample how to use Conan Editable Packages.\n\nDocumentation: https://docs.conan.io/en/latest/developing_packages/editable_packages.html\n\n### [Serializing your data with Protobuf](libraries/protobuf/serialization)\n\nDemonstrate how to use Protobuf to serialize data between C++ and Python.\n\nBlog Post: https://blog.conan.io/2019/03/06/Serializing-your-data-with-Protobuf.html\n\n### [Using Facebook Folly with Conan](libraries/folly/basic)\n\nDemonstrate how to use Folly to validate an URI using Futures, FBString, Executors, and Format.\n\nBlog Post: https://blog.conan.io/2018/12/03/Using-Facebook-Folly-with-Conan.html\n\n### [An introduction to Dear ImGui and how to use with Conan](libraries/dear-imgui/basic)\n\nDemonstrate how to use Dear ImGui with Conan to add a GUI to an OpenGL3 application.\n\n### [Exporting targets with CMake and reuse with find_package()](features/cmake/find_package/exported_targets_multiconfig)\n\nUse CMake to declare, export and install the targets of some libraries and using Conan to reuse them with\n``find_package`` and the multi-configuration project.\n\n### [Using the cmake_find_package_multi generator](features/cmake/find_package/find_cmake_multi_generator_targets)\n\nDemonstrate how to use the ``cmake_find_package_multi`` generator to integrate seamlessly CMake with Conan\nusing ``find_package`` in a multi-configuration project.\n\n\n### [Multi-configuration package (N configs -\u003e 1 package)](features/multi_config)\n\nExample on how to create multi-configuration debug/release packages covering the N configs -\u003e 1 package use case:\n\n- Remove the ``build_type`` from settings.\n- Have a CMake script that differentiate debug and release artifacts (``set_target_properties(hello PROPERTIES DEBUG_POSTFIX _d)``).\n- Have a ``build()`` that builds both configs.\n- Have a ``package_info()`` method that accounts for both configs ``self.cpp_info.debug.libs``, etc.\n\nDocumentation: https://docs.conan.io/en/latest/creating_packages/package_approaches.html#n-configs-1-package\n\n\n### Lockfiles\n\n#### [Using lockfiles in CI to rebuild a whole project](features/lockfiles/ci)\n\nWhen a package in a dependency graph is modified and a new version or revision is created, it\nis sometimes desired to test if that new version works well within a larger product or project,\nthat is, when that package is part of a larger dependency graph. The packages that depend on\nthe modified one might need to be rebuilt, but if something else changed, it is impossible to\nachieve reproducible builds.\n\nUsing lockfiles can enforce the same upstream dependencies, to ensure reproducible builds and to re-build and test such scenarios.\n\nDocumentation: https://docs.conan.io/en/latest/versioning/lockfiles.html#how-to-use-lockfiles-in-ci\n\n### [Integrate a build system in Conan](features/integrate_build_system)\n\nShows how to integrate a build-system in Conan using an *installer*, a *build-helper* and a *custom generator*.\n\n### [Deployment](features/deployment)\n\nShows how to use conan ``json`` generator with custom script to automate the creation of deployable artifact ([makeself.io](https://makeself.io))\n\nDocumentation: https://docs.conan.io/en/laters/integrations/deployment.html\n\n## How can I reproduce the build steps?\n\nAll our examples can be built on Windows, Linux and Mac. If you are interested to reproduce\nthe examples in your environment, please check the scripts inside every example folder.\n\n## LICENSE\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconan-io%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconan-io%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconan-io%2Fexamples/lists"}