[cconfig] adding cconfig lib to VCPKG (#47480)

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
This commit is contained in:
Nouridin 2025-09-25 20:00:42 +03:00 committed by GitHub
parent 68e54a2a1f
commit 484e266b5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Nouridin/cconfig
REF "v${VERSION}"
SHA512 8CE0C0FCA4E55AF9CFD56BA7779F4775703752D328518FE72F242336A7D4DB08B53284CA6148FC65BDBFE7D5BE4F025F49DFC7B13A45E2B69F350E15966C1929
)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include/cconfig")
file(COPY "${SOURCE_PATH}/cconfig.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/cconfig")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

7
ports/cconfig/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "cconfig",
"version": "1.0.0",
"description": "Header-only config parsing library",
"homepage": "https://github.com/Nouridin/cconfig",
"license": "MIT"
}

View File

@ -1624,6 +1624,10 @@
"baseline": "2.5",
"port-version": 13
},
"cconfig": {
"baseline": "1.0.0",
"port-version": 0
},
"cctag": {
"baseline": "1.0.4",
"port-version": 0

9
versions/c-/cconfig.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7f4db36c61a2afd14da6c4eaa021b4438937443d",
"version": "1.0.0",
"port-version": 0
}
]
}