diff options
Diffstat (limited to 'vcpkg/ports/boost-uninstall')
| -rw-r--r-- | vcpkg/ports/boost-uninstall/portfile.cmake | 6 | ||||
| -rw-r--r-- | vcpkg/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake | 3 | ||||
| -rw-r--r-- | vcpkg/ports/boost-uninstall/vcpkg.json | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-uninstall/portfile.cmake b/vcpkg/ports/boost-uninstall/portfile.cmake new file mode 100644 index 0000000..07fa297 --- /dev/null +++ b/vcpkg/ports/boost-uninstall/portfile.cmake @@ -0,0 +1,6 @@ +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/vcpkg/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake b/vcpkg/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000..3cf8dd1 --- /dev/null +++ b/vcpkg/ports/boost-uninstall/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,3 @@ +# Need to keep this file due to vcpkg.cmake otherwise injecting a different behavior.
+set(Boost_NO_BOOST_CMAKE OFF)
+_find_package(${ARGS})
\ No newline at end of file diff --git a/vcpkg/ports/boost-uninstall/vcpkg.json b/vcpkg/ports/boost-uninstall/vcpkg.json new file mode 100644 index 0000000..c7fd17f --- /dev/null +++ b/vcpkg/ports/boost-uninstall/vcpkg.json @@ -0,0 +1,7 @@ +{ + "$comment": "Automatically generated by scripts/boost/generate-ports.ps1", + "name": "boost-uninstall", + "version": "1.89.0", + "description": "Internal vcpkg port used to uninstall Boost", + "license": "MIT" +} |