{"id":24746631,"url":"https://github.com/samuelmarks/cmake-example-with-vcpkg","last_synced_at":"2025-06-30T00:07:50.275Z","repository":{"id":48855920,"uuid":"382041310","full_name":"SamuelMarks/cmake-example-with-vcpkg","owner":"SamuelMarks","description":"CMake example project with vcpkg dependencies","archived":false,"fork":false,"pushed_at":"2021-07-17T04:36:06.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:27:58.598Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuelMarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-01T13:24:53.000Z","updated_at":"2021-07-17T04:36:09.000Z","dependencies_parsed_at":"2022-09-03T14:12:40.579Z","dependency_job_id":null,"html_url":"https://github.com/SamuelMarks/cmake-example-with-vcpkg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMarks/cmake-example-with-vcpkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcmake-example-with-vcpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcmake-example-with-vcpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcmake-example-with-vcpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcmake-example-with-vcpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/cmake-example-with-vcpkg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fcmake-example-with-vcpkg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262685696,"owners_count":23348451,"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":"2025-01-28T04:29:43.768Z","updated_at":"2025-06-30T00:07:50.240Z","avatar_url":"https://github.com/SamuelMarks.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"CMake project for vcpkg integration\n===================================\n[![build and test](https://github.com/SamuelMarks/cmake-example-with-vcpkg/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/SamuelMarks/cmake-example-with-vcpkg/actions/workflows/build-and-test.yml)\n[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![C89](https://img.shields.io/badge/C-89-blue)](https://en.wikipedia.org/wiki/C89_(C_version))\n\nCMake has become the default 'standard' for cross-platform builds; popularly for C and C++.\n\nThis project aims to be a good starter for cross-platform third-party dependencies with CMake and vcpkg.\n\n## vcpkg\n[`vcpkg`](https://vcpkg.io) is an open-source cross-platform library package management system from [Microsoft](https://microsoft.com); targeting macOS, Linux, and Windows.\n\nIt's very popular, and has strong CMake integration. Henceforth, it is chosen for this project as an example of third-party library integration.\n\n[Install vcpkg](https://vcpkg.io/en/getting-started.html), configure it with your system. Then run:\n\n    [root]/vcpkg/vcpkg install zlib openssl\n\n## Build\n\n    $ mkdir 'cmake-build-debug' \u0026\u0026 cd \"$_\"\n    $ cmake -DCMAKE_TOOLCHAIN_FILE='[root]/vcpkg/scripts/buildsystems/vcpkg.cmake' \\\n            -DCMAKE_BUILD_TYPE='Debug' \\\n            ..\n    $ cmake --build .\n\n---\n\nThis project originally was based upon the official `cmake\\Help\\guide\\tutorial\\Complete` at [`0fdfd6bf`](https://gitlab.kitware.com/cmake/cmake/-/tree/0fdfd6bf/Help/guide/tutorial/Complete).\n\n---\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttps://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fcmake-example-with-vcpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Fcmake-example-with-vcpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fcmake-example-with-vcpkg/lists"}