mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[args] Update to 6.2.7 (#21030)
* update version to 6.2.7 * quote paths * support pkgconfig file * add versioning
This commit is contained in:
parent
3b45774920
commit
1c7f8c61f9
@ -2,13 +2,13 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Taywee/args
|
||||
REF ae22269df734a2b0957a9ab4e37be41f61866dbe
|
||||
SHA512 fe44bc6b7b81013ce649e3fa33c3d9503747a3c9044b70cf9eaf8ff780f2feabdabc261a33d29042daec19a598e3d60e318d3d415cbffb5fdcd2aabdd2ef39db
|
||||
REF 6.2.7
|
||||
SHA512 a6491b2680979feb2f09e7ffb4f3c939b75057b6b4b90136b6cb72eaf5a462d3079dfb5836744e53bf4946bd575d4449f87129d6e50045732d7fba11c2be57dd
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DARGS_BUILD_UNITTESTS=OFF
|
||||
-DARGS_BUILD_EXAMPLE=OFF
|
||||
@ -16,10 +16,11 @@ vcpkg_cmake_configure(
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "args",
|
||||
"version-date": "2021-03-14",
|
||||
"version": "6.2.7",
|
||||
"description": "A simple header-only C++ argument parser library.",
|
||||
"homepage": "https://github.com/Taywee/args",
|
||||
"dependencies": [
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8f102bf551068e71d94c7d1f21295bb9bf29dcdc",
|
||||
"version": "6.2.7",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "0b99979813c133a681aedcf4753689f023fbb98b",
|
||||
"version-date": "2021-03-14",
|
||||
|
@ -141,7 +141,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"args": {
|
||||
"baseline": "2021-03-14",
|
||||
"baseline": "6.2.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"argtable2": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user