diff --git a/ports/boost-uninstall/portfile.cmake b/ports/boost-uninstall/portfile.cmake index a06925e408..07fa297317 100644 --- a/ports/boost-uninstall/portfile.cmake +++ b/ports/boost-uninstall/portfile.cmake @@ -2,3 +2,5 @@ set(VCPKG_POLICY_EMPTY_PACKAGE enabled) message(STATUS "\nPlease use the following command when you need to remove all boost ports/components:\n\ \"./vcpkg remove boost-uninstall:${TARGET_TRIPLET} --recurse\"\n") + +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/boost/vcpkg-cmake-wrapper.cmake" @ONLY) \ No newline at end of file diff --git a/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake b/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000000..d3e5109b2a --- /dev/null +++ b/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,11 @@ +set(Boost_USE_STATIC_LIBS OFF) +set(Boost_USE_MULTITHREADED ON) +unset(Boost_USE_STATIC_RUNTIME) +set(Boost_NO_BOOST_CMAKE ON) +unset(Boost_USE_STATIC_RUNTIME CACHE) +if("${CMAKE_VS_PLATFORM_TOOLSET}" STREQUAL "v120") + set(Boost_COMPILER "-vc120") +else() + set(Boost_COMPILER "-vc140") +endif() +_find_package(${ARGS}) \ No newline at end of file diff --git a/ports/boost-uninstall/vcpkg.json b/ports/boost-uninstall/vcpkg.json index f419d200ff..09bef55d69 100644 --- a/ports/boost-uninstall/vcpkg.json +++ b/ports/boost-uninstall/vcpkg.json @@ -1,6 +1,7 @@ { "name": "boost-uninstall", "version-string": "1.75.0", + "port-version": 1, "description": "boost uninstall port", "homepage": "https://boost.org" } diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 21e813ab08..3512adeaf8 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -145,5 +145,5 @@ endif() vcpkg_fixup_pkgconfig() -file(INSTALL ${CURRENT_PORT_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) +file(INSTALL "${CURRENT_PORT_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/curl/vcpkg.json b/ports/curl/vcpkg.json index e34124382f..6efa34f0f6 100644 --- a/ports/curl/vcpkg.json +++ b/ports/curl/vcpkg.json @@ -1,7 +1,7 @@ { "name": "curl", "version": "7.74.0", - "port-version": 6, + "port-version": 7, "description": "A library for transferring data with URLs", "homepage": "https://github.com/curl/curl", "dependencies": [ diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake index e932c153cf..3ec41fb2f0 100644 --- a/ports/grpc/portfile.cmake +++ b/ports/grpc/portfile.cmake @@ -96,3 +96,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) vcpkg_copy_pdbs() file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY) diff --git a/ports/grpc/vcpkg-cmake-wrapper.cmake b/ports/grpc/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000000..9adf028808 --- /dev/null +++ b/ports/grpc/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,2 @@ +list(REMOVE_AT ARGS 0) +_find_package(gRPC ${ARGS}) # Shouldn't this be fixed downstream instead of using a Wrapper? \ No newline at end of file diff --git a/ports/grpc/vcpkg.json b/ports/grpc/vcpkg.json index a3515788ec..118c58d184 100644 --- a/ports/grpc/vcpkg.json +++ b/ports/grpc/vcpkg.json @@ -1,7 +1,7 @@ { "name": "grpc", "version-semver": "1.37.0", - "port-version": 1, + "port-version": 2, "description": "An RPC library and framework", "homepage": "https://github.com/grpc/grpc", "dependencies": [ diff --git a/ports/gsl/CONTROL b/ports/gsl/CONTROL index 62c5efb26b..03b3e6e746 100644 --- a/ports/gsl/CONTROL +++ b/ports/gsl/CONTROL @@ -1,4 +1,5 @@ Source: gsl Version: 2.6 +Port-Version: 1 Homepage: https://www.gnu.org/software/gsl/ Description: The GNU Scientific Library is a numerical library for C and C++ programmers diff --git a/ports/gsl/portfile.cmake b/ports/gsl/portfile.cmake index 3069c44b2a..b722393fe8 100644 --- a/ports/gsl/portfile.cmake +++ b/ports/gsl/portfile.cmake @@ -27,3 +27,4 @@ vcpkg_copy_pdbs() file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY) \ No newline at end of file diff --git a/ports/gsl/vcpkg-cmake-wrapper.cmake b/ports/gsl/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000000..7a3ea854cf --- /dev/null +++ b/ports/gsl/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,11 @@ +_find_package(${ARGS}) +if(GSL_FOUND AND TARGET GSL::gsl) + set_property( TARGET GSL::gslcblas APPEND PROPERTY IMPORTED_CONFIGURATIONS Release ) + set_property( TARGET GSL::gsl APPEND PROPERTY IMPORTED_CONFIGURATIONS Release ) + if( EXISTS "${GSL_LIBRARY_DEBUG}" AND EXISTS "${GSL_CBLAS_LIBRARY_DEBUG}") + set_property( TARGET GSL::gsl APPEND PROPERTY IMPORTED_CONFIGURATIONS Debug ) + set_target_properties( GSL::gsl PROPERTIES IMPORTED_LOCATION_DEBUG "${GSL_LIBRARY_DEBUG}" ) + set_property( TARGET GSL::gslcblas APPEND PROPERTY IMPORTED_CONFIGURATIONS Debug ) + set_target_properties( GSL::gslcblas PROPERTIES IMPORTED_LOCATION_DEBUG "${GSL_CBLAS_LIBRARY_DEBUG}" ) + endif() +endif() \ No newline at end of file diff --git a/ports/icu/portfile.cmake b/ports/icu/portfile.cmake index 32a8aea06c..386982cd6d 100644 --- a/ports/icu/portfile.cmake +++ b/ports/icu/portfile.cmake @@ -232,3 +232,4 @@ vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES pthread m) # Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY) diff --git a/ports/icu/vcpkg-cmake-wrapper.cmake b/ports/icu/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000000..7d7a818a06 --- /dev/null +++ b/ports/icu/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,6 @@ +list(FIND ARGS "COMPONENTS" COMPONENTS_IDX) +if(NOT COMPONENTS_IDX EQUAL -1) + _find_package(${ARGS} COMPONENTS data) +else() + _find_package(${ARGS}) +endif() \ No newline at end of file diff --git a/ports/icu/vcpkg.json b/ports/icu/vcpkg.json index c20dc69201..88e82a08dd 100644 --- a/ports/icu/vcpkg.json +++ b/ports/icu/vcpkg.json @@ -1,7 +1,7 @@ { "name": "icu", "version": "69.1", - "port-version": 9, + "port-version": 10, "description": "Mature and widely used Unicode and localization library.", "homepage": "http://icu-project.org/apiref/icu4c/", "supports": "!uwp", diff --git a/versions/b-/boost-uninstall.json b/versions/b-/boost-uninstall.json index a0c99662a4..200bac7bb6 100644 --- a/versions/b-/boost-uninstall.json +++ b/versions/b-/boost-uninstall.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "092a563d81779e6bfb0ee656bc4c8f01f57c7666", + "version-string": "1.75.0", + "port-version": 1 + }, { "git-tree": "08933bad27b6d41caef0940c31e2069ecb6a079c", "version-string": "1.75.0", diff --git a/versions/baseline.json b/versions/baseline.json index 61b29fa218..8516c0831f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -966,7 +966,7 @@ }, "boost-uninstall": { "baseline": "1.75.0", - "port-version": 0 + "port-version": 1 }, "boost-units": { "baseline": "1.75.0", @@ -1546,7 +1546,7 @@ }, "curl": { "baseline": "7.74.0", - "port-version": 6 + "port-version": 7 }, "curlpp": { "baseline": "2018-06-15-3", @@ -2382,7 +2382,7 @@ }, "grpc": { "baseline": "1.37.0", - "port-version": 1 + "port-version": 2 }, "grppi": { "baseline": "0.4.0", @@ -2390,7 +2390,7 @@ }, "gsl": { "baseline": "2.6", - "port-version": 0 + "port-version": 1 }, "gsl-lite": { "baseline": "0.38.1", @@ -2522,7 +2522,7 @@ }, "icu": { "baseline": "69.1", - "port-version": 9 + "port-version": 10 }, "ideviceinstaller": { "baseline": "1.1.2.23-1", diff --git a/versions/c-/curl.json b/versions/c-/curl.json index e80c018a8e..dfca5d4c4a 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "2184d79bb98ed36af015203385175cade013d8af", + "version": "7.74.0", + "port-version": 7 + }, { "git-tree": "73eb56fb6fa870b5959ba36b931817fc85208efe", "version": "7.74.0", diff --git a/versions/g-/grpc.json b/versions/g-/grpc.json index 556e616dbd..2b050b8602 100644 --- a/versions/g-/grpc.json +++ b/versions/g-/grpc.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9bcee29de46cc5f1edbe016d192f243f65e64a5f", + "version-semver": "1.37.0", + "port-version": 2 + }, { "git-tree": "8f98b29393d0964e617d4182cc4915925b737285", "version-semver": "1.37.0", diff --git a/versions/g-/gsl.json b/versions/g-/gsl.json index 25bbc623f8..27a15cd083 100644 --- a/versions/g-/gsl.json +++ b/versions/g-/gsl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "da6e274c9febfeb37b716f136cbf43225c55d997", + "version-string": "2.6", + "port-version": 1 + }, { "git-tree": "a102b1a49d711cdf9b8cfe4bc1e06836dc2c2423", "version-string": "2.6", diff --git a/versions/i-/icu.json b/versions/i-/icu.json index 7bb611f537..7f106d54b9 100644 --- a/versions/i-/icu.json +++ b/versions/i-/icu.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "07e8fca3896a13ac7b4196e104015174429a6c74", + "version": "69.1", + "port-version": 10 + }, { "git-tree": "5c039f72ee659cc0522524889b9219615f28263a", "version": "69.1",