diff options
Diffstat (limited to 'vcpkg/ports/rapidcheck')
| -rw-r--r-- | vcpkg/ports/rapidcheck/portfile.cmake | 27 | ||||
| -rw-r--r-- | vcpkg/ports/rapidcheck/vcpkg.json | 17 |
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/rapidcheck/portfile.cmake b/vcpkg/ports/rapidcheck/portfile.cmake new file mode 100644 index 0000000..88dc2e7 --- /dev/null +++ b/vcpkg/ports/rapidcheck/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO emil-e/rapidcheck
+ REF ff6af6fc683159deb51c543b065eba14dfcf329b
+ SHA512 79f1e869a3c55f62d3609cc4b3a56977f720c3eacf5e1792aa3a9bd5ab90aa077371bc0902d6c31503885f9ebcc633ed242ae6995866cb46fd12afdf425500e3
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DRC_INSTALL_ALL_EXTRAS=ON
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "share/${PORT}/cmake")
+vcpkg_copy_pdbs()
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/share"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
diff --git a/vcpkg/ports/rapidcheck/vcpkg.json b/vcpkg/ports/rapidcheck/vcpkg.json new file mode 100644 index 0000000..78ee241 --- /dev/null +++ b/vcpkg/ports/rapidcheck/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "rapidcheck", + "version-date": "2023-12-14", + "description": "A property-based testing library for C++ (a la QuickCheck) with the goal of being simple to use with as little boilerplate as possible.", + "homepage": "https://github.com/emil-e/rapidcheck", + "license": "BSD-2-Clause", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |