aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rtc-benchmarksuite
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/rtc-benchmarksuite')
-rw-r--r--vcpkg/ports/rtc-benchmarksuite/portfile.cmake17
-rw-r--r--vcpkg/ports/rtc-benchmarksuite/vcpkg.json14
2 files changed, 31 insertions, 0 deletions
diff --git a/vcpkg/ports/rtc-benchmarksuite/portfile.cmake b/vcpkg/ports/rtc-benchmarksuite/portfile.cmake
new file mode 100644
index 0000000..19e8c98
--- /dev/null
+++ b/vcpkg/ports/rtc-benchmarksuite/portfile.cmake
@@ -0,0 +1,17 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO realtimechris/benchmarksuite
+ REF "v${VERSION}"
+ SHA512 e4deaf511ba7754610d3abc7d624040cc9c89fc1a5bfe7b9e7d3a95bbf74719f80a6ad3c7d60ede27368143ec8d16a797286ad0ecddcbb7092420a6f7c65f419
+ HEAD_REF main
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")
diff --git a/vcpkg/ports/rtc-benchmarksuite/vcpkg.json b/vcpkg/ports/rtc-benchmarksuite/vcpkg.json
new file mode 100644
index 0000000..807dd17
--- /dev/null
+++ b/vcpkg/ports/rtc-benchmarksuite/vcpkg.json
@@ -0,0 +1,14 @@
+{
+ "name": "rtc-benchmarksuite",
+ "version": "1.0.0",
+ "description": "A header-only C++ benchmarking library with cross-platform hardware performance counter integration, providing precise measurements of cycles, instructions, branches, cache behavior, and throughput with minimal overhead.",
+ "homepage": "https://github.com/realtimechris/benchmarksuite",
+ "license": "MIT",
+ "supports": "(windows & x64 & !xbox) | (linux & x64) | (osx & x64)",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}