{"id":15991242,"url":"https://github.com/friendlyanon/cmake-init-multi-target","last_synced_at":"2026-02-09T08:04:06.327Z","repository":{"id":68574026,"uuid":"409551512","full_name":"friendlyanon/cmake-init-multi-target","owner":"friendlyanon","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-12T14:48:30.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T22:52:03.647Z","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-09-23T10:47:34.000Z","updated_at":"2023-01-16T20:37:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee671510-7eff-4494-8c00-f994b4dd1ad0","html_url":"https://github.com/friendlyanon/cmake-init-multi-target","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/friendlyanon/cmake-init-multi-target","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multi-target","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multi-target/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multi-target/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multi-target/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friendlyanon","download_url":"https://codeload.github.com/friendlyanon/cmake-init-multi-target/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Fcmake-init-multi-target/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29259472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-08T05:43:02.974Z","updated_at":"2026-02-09T08:04:06.301Z","avatar_url":"https://github.com/friendlyanon.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multi-target\n\nThis project is an example project generated with [cmake-init][1] with the\npurpose of showing off how to create an internal dependency as an\nimplementation detail in the form of a static library.\n\n# Building and installing\n\nSee the [BUILDING](BUILDING.md) document.\n\n## Internal dependency\n\nRight now, CMake does not combine the `.a` or `.lib` files, which means that if\nyour public static library target depends on one as an internal dependency, you\nmust also install the internal dependency, which will show up in the install\ninterface as a `$\u003cLINK_ONLY:...\u003e` generator expression. The purpose of this\ngenex is that the public static library target does not contain the object code\nform the internal static library dependency, so it must also be linked into a\nconsuming final target. If CMake didn't do this for you, then you would end up\nwith linker errors due to missing symbols related to an implementation detail.\n\nThis list will assume that your public target is static or shared depending on\nthe value of CMake provided `BUILD_SHARED_LIBS`. Changes to be made:\n\n* Make the [config file](cmake/install-config.cmake.in) configurable.\n* Setup a [new export set](cmake/install-rules.cmake#L63) for the internal\n  dependency.\n\n[1]: https://github.com/friendlyanon/cmake-init\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Fcmake-init-multi-target","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendlyanon%2Fcmake-init-multi-target","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Fcmake-init-multi-target/lists"}