{"id":15991231,"url":"https://github.com/friendlyanon/cmake-init-multiple-packages","last_synced_at":"2026-03-19T18:26:42.083Z","repository":{"id":68574025,"uuid":"420276520","full_name":"friendlyanon/cmake-init-multiple-packages","owner":"friendlyanon","description":"Example for creating multiple packages with CPack","archived":false,"fork":false,"pushed_at":"2021-10-25T12:42:24.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T08:12:52.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"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/friendlyanon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-23T00:27:49.000Z","updated_at":"2024-11-07T12:43:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbe3144c-c3ef-4dff-96ea-ba98e7ea9ab5","html_url":"https://github.com/friendlyanon/cmake-init-multiple-packages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multiple-packages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multiple-packages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multiple-packages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multiple-packages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friendlyanon","download_url":"https://codeload.github.com/friendlyanon/cmake-init-multiple-packages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243437965,"owners_count":20290864,"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":[],"created_at":"2024-10-08T05:43:00.155Z","updated_at":"2025-12-30T10:28:17.007Z","avatar_url":"https://github.com/friendlyanon.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multiple-packages\n\nThis project was generated by [cmake-init][1].  \nIt's heavily stripped down to focus on showing how to create multiple packages\nfrom a single project.\n\n## Component groups\n\nThis project has 2 component groups:\n\n* `multiple-packages_a`\n* `multiple-packages_b`\n\nThese component groups are defined using variables in the `group-a` and\n`group-b` presets. The same result could have been achieved by using commands\nfrom the `CPackComponent` module. Each component group has 2 components\nassociated to them, which are the runtime and development components.\n\nTake a look at the [presets](CMakePresets.json) for more details.\n\n## Packaging\n\nTake a look at the [CI workflow](.github/workflows/ci.yml) for packaging.\n\nIf you want to test the commands on Windows, you have to:\n\n* Use the `package-zip-win64` preset\n* Build the `build/win64` directory using the `--config` flag\n  * Example: `cmake --build build/win64 --config Release`\n* `cd` into the `build/win64` directory and package using the `-C` flag\n  * Example: `cd build/win64 \u0026\u0026 cpack -C Release`\n\nThese are not really Windows specific, but on Windows a VS generator is the\ndefault and the VS generators are multi-config, as opposed to a single-config\ngenerator like the `Unix Makefiles` one.\n\n[1]: https://github.com/friendlyanon/cmake-init\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Fcmake-init-multiple-packages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendlyanon%2Fcmake-init-multiple-packages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Fcmake-init-multiple-packages/lists"}