mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 11:09:09 +08:00
441831b902
Originally, this port copied the single header provided by the upstream into the install destination. This required consumers to use the package via `find_path(semver.hpp)`, which is less robust, is inconsistent, and doesn't use targets. These changes update the vcpkg port to leverage the config-file package offered by [neargye/semver](https://github.com/Neargye/semver). With this, consumers use the package through `find_package(neargye-semver CONFIG), and the target `semver::semver`. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - ~[ ] SHA512s are updated for each updated download.~ - ~[ ] The "supports" clause reflects platforms that may be fixed by this new version.~ - ~[ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - ~[ ] Any patches that are no longer applied are deleted from the port's directory.~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
19 lines
412 B
JSON
19 lines
412 B
JSON
{
|
|
"name": "neargye-semver",
|
|
"version": "0.3.0",
|
|
"port-version": 2,
|
|
"description": "C++17 header-only dependency-free versioning library complying with Semantic Versioning 2.0.0",
|
|
"homepage": "https://github.com/Neargye/semver",
|
|
"license": "MIT",
|
|
"dependencies": [
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
]
|
|
}
|