{"id":13617532,"url":"https://github.com/cxxpods/cxxpods","last_synced_at":"2025-10-25T19:31:34.957Z","repository":{"id":32673167,"uuid":"139052522","full_name":"cxxpods/cxxpods","owner":"cxxpods","description":"Toolchains, tools and dependencies, all in one place, made easy","archived":false,"fork":false,"pushed_at":"2022-12-07T20:32:27.000Z","size":13188,"stargazers_count":7,"open_issues_count":15,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-04T06:02:39.377Z","etag":null,"topics":["build","build-automation","build-system","c","cmake","cpp","cross-compiler","make","package-manager","toolchains"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cxxpods.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":"2018-06-28T18:05:26.000Z","updated_at":"2020-04-16T13:02:04.000Z","dependencies_parsed_at":"2023-01-14T21:53:47.456Z","dependency_job_id":null,"html_url":"https://github.com/cxxpods/cxxpods","commit_stats":null,"previous_names":["cunit/cunit"],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxpods%2Fcxxpods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxpods%2Fcxxpods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxpods%2Fcxxpods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxxpods%2Fcxxpods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxxpods","download_url":"https://codeload.github.com/cxxpods/cxxpods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238157772,"owners_count":19426155,"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":["build","build-automation","build-system","c","cmake","cpp","cross-compiler","make","package-manager","toolchains"],"created_at":"2024-08-01T20:01:43.260Z","updated_at":"2025-10-25T19:31:29.598Z","avatar_url":"https://github.com/cxxpods.png","language":"JavaScript","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"![logo](art/logo.png)\n\n# CXXPODS \n\nDocumentation can be found [here: documentation](https://cxxpods.readthedocs.io/en/latest/00_Overview.html)\n\n## Overview\n\nCXXPods is a command line tool that allows for both simple c/c++ and very complex multi-platform, cross-compiling dependency managerment.  \n\nThink of it as a highly customizable (obviously because it needs to support complex native code) NPM or Maven like package management solution that deals in source artifacts instead of compiled or binary artifacts.\n\nIt comes as an amalgamation of other attempts including awesome projects like mason, hunter \u0026 conan.\n\nIn order to be as comprehensive as possible, there is a single enforced guideline, your project must you CMake.\n\n## Install\n\n### Linux, macOS\n\nOn linux or macOS you can run the following snippet to install a binary version of cxxpods, no need to install node, npm or anything else. It will be installed to `/usr/local/bin`\n\n```bash\ncurl -s https://raw.githubusercontent.com/cxxpods/cxxpods/master/scripts/client-install.sh | bash\n```\n\n### NPM (Windows, Linux, macOS)\n\nYou can also install via [npm](http://nodejs.org) if you have [node](http://nodejs.org) and npm installed.\n \n```bash\nnpm i -g cxxpods\n```\n\n## Quickstart\n\nIt takes a few simple steps.\n\n- Create a cxxpods.yml file in the root of your project\n\n```yaml\nname: cxxpods-example\n\ndependencies:\n  opencv: 3.4.1\n\n```\n\n- Then run configure\n\n```bash\ncxxpods project configure\n```\n\n- In your root `CMakeLists.txt` *BEFORE* your `project` declaration \n  add something like the following:\n\n```cmake\ncmake_minimum_required(VERSION 3.10)\n\n# INSERT THIS LINE\ninclude(${CMAKE_CURRENT_LIST_DIR}/.cxxpods/cxxpods.cmake)\n\nproject(cxxpods_example)\n```\n\n\n\n## Cross-Compiling \"Toolchains\"\n\nCreate your standard cmake toolchain file and\nuse it as follows:\n\n```yaml\nname: cxxpods-example\nprofiles: [Debug,Release]\n\ntoolchains:\n  \"aarch64-linux-gnu\": cmake/aarch64.cmake \n  # file would be at this relative location from the project root\n\ndependencies:\n  protobuf: 3.1.0\n  opencv: 3.4.1\n\n```\n\nIn order to use with `non-cmake` dependencies and scripts\nadd the following to the top of your toolchain file:\n\n```cmake\ninclude(${CMAKE_CURRENT_LIST_DIR}/.cxxpods/cxxpods.toolchain.cmake)\n```\n\nand add the following to the bottom of your toolchain file\n\n```cmake\ncxxpods_toolchain_export()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxxpods%2Fcxxpods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxxpods%2Fcxxpods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxxpods%2Fcxxpods/lists"}