mirror of https://github.com/microsoft/vcpkg.git
[ini-cpp] Add new port (#52830)
This commit is contained in:
parent
de62e9c047
commit
cf1c7380e7
|
|
@ -0,0 +1,12 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO SSARCandy/ini-cpp
|
||||
REF "v${VERSION}"
|
||||
SHA512 14f50416eafa3acb457d64a64c04e4e9b2d666519bf540e879ee0b5df8b078c8c776d87bb353b10fc8852566247d5b46af3da9feba926a27c1526594e77381e4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/ini/ini.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/ini")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
ini-cpp is header-only and can be used from CMake via:
|
||||
|
||||
find_path(INI_CPP_INCLUDE_DIRS "ini/ini.h")
|
||||
target_include_directories(main PRIVATE ${INI_CPP_INCLUDE_DIRS})
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "ini-cpp",
|
||||
"version": "2.0.0",
|
||||
"description": "Single-header INI file reader and writer for modern C++ (C++17), with type-aware getters and sensible defaults",
|
||||
"homepage": "https://github.com/SSARCandy/ini-cpp",
|
||||
"license": "BSD-3-Clause"
|
||||
}
|
||||
|
|
@ -4044,6 +4044,10 @@
|
|||
"baseline": "2023-04-12",
|
||||
"port-version": 0
|
||||
},
|
||||
"ini-cpp": {
|
||||
"baseline": "2.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"inih": {
|
||||
"baseline": "62",
|
||||
"port-version": 1
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f8ec2b3ee7ce24b444c05ddf829478396da12dc4",
|
||||
"version": "2.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue