aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rexo/portfile.cmake19
-rw-r--r--ports/rexo/vcpkg.json16
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/r-/rexo.json9
4 files changed, 48 insertions, 0 deletions
diff --git a/ports/rexo/portfile.cmake b/ports/rexo/portfile.cmake
new file mode 100644
index 000000000..9fdf50774
--- /dev/null
+++ b/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/ports/rexo/vcpkg.json b/ports/rexo/vcpkg.json
new file mode 100644
index 000000000..5971ea422
--- /dev/null
+++ b/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
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 20a4ccf56..c818d93d3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5684,6 +5684,10 @@
"baseline": "0.6.13",
"port-version": 0
},
+ "rexo": {
+ "baseline": "0.2.2",
+ "port-version": 0
+ },
"rhash": {
"baseline": "1.4.0",
"port-version": 1
diff --git a/versions/r-/rexo.json b/versions/r-/rexo.json
new file mode 100644
index 000000000..74465b5fa
--- /dev/null
+++ b/versions/r-/rexo.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "baf2bfcbd402fbf0f66d810edfff4d7fbd7d1583",
+ "version-semver": "0.2.2",
+ "port-version": 0
+ }
+ ]
+}