aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rexo
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/rexo
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/rexo')
-rw-r--r--vcpkg/ports/rexo/portfile.cmake19
-rw-r--r--vcpkg/ports/rexo/vcpkg.json16
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/rexo/portfile.cmake b/vcpkg/ports/rexo/portfile.cmake
new file mode 100644
index 0000000..9fdf507
--- /dev/null
+++ b/vcpkg/ports/rexo/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO "christophercrouzet/rexo"
+ REF "v0.2.2"
+ SHA512 "c7b093920bb23d1b8ecb905c8d3eb281e46607890c071c079df4c194215fc007d672ce3524848a1f0376188869f51fd9955e3fe027c10f3d286a003adfd78d09"
+ HEAD_REF "main"
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DREXO_BUILD_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Rexo)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+configure_file("${SOURCE_PATH}/UNLICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
diff --git a/vcpkg/ports/rexo/vcpkg.json b/vcpkg/ports/rexo/vcpkg.json
new file mode 100644
index 0000000..5971ea4
--- /dev/null
+++ b/vcpkg/ports/rexo/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "rexo",
+ "version-semver": "0.2.2",
+ "description": "Rexo is a neat single-file cross-platform unit testing framework for C/C++",
+ "homepage": "https://github.com/christophercrouzet/rexo",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}