Skip to content

Commit

Permalink
Hook up with_INIReader
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal committed Aug 11, 2022
1 parent 7efc08c commit 96cb416
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 4 deletions.
8 changes: 8 additions & 0 deletions ports/inih/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ vcpkg_from_github(

file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
cpp with_INIReader
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
)

vcpkg_cmake_install()
Expand Down
7 changes: 6 additions & 1 deletion ports/inih/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"cpp": {
"description": "Build the C++ library"
}
}
}
8 changes: 7 additions & 1 deletion ports/minio-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"name": "minio-cpp",
"version": "0.1.0",
"port-version": 1,
"description": "The MinIO C++ Client SDK provides simple APIs to access any Amazon S3 compatible object storage",
"homepage": "https://github.com/minio/minio-cpp",
"license": "Apache-2.0",
"supports": "!windows & !osx & !uwp",
"dependencies": [
"curlpp",
"inih",
{
"name": "inih",
"features": [
"cpp"
]
},
"nlohmann-json",
"openssl",
"pugixml",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4618,7 +4618,7 @@
},
"minio-cpp": {
"baseline": "0.1.0",
"port-version": 0
"port-version": 1
},
"minisat-master-keying": {
"baseline": "2.3.6",
Expand Down
2 changes: 1 addition & 1 deletion versions/i-/inih.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "a9efba782a9aa1f1969f4ef7eef5efb89cd8391a",
"git-tree": "ccae9a4d18198ac2d9303cac12c4dbb1fbe0bf24",
"version": "56",
"port-version": 0
},
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/minio-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "aba77c57bfd8ce80d23cd3c40ddcd2d0f1129ee8",
"version": "0.1.0",
"port-version": 1
},
{
"git-tree": "e406e5f0c1d14b66ad6e58c91d122ca0d01df04c",
"version": "0.1.0",
Expand Down

0 comments on commit 96cb416

Please sign in to comment.