aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/binlog
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/binlog
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/binlog')
-rw-r--r--vcpkg/ports/binlog/portfile.cmake29
-rw-r--r--vcpkg/ports/binlog/vcpkg.json19
2 files changed, 48 insertions, 0 deletions
diff --git a/vcpkg/ports/binlog/portfile.cmake b/vcpkg/ports/binlog/portfile.cmake
new file mode 100644
index 0000000..8322e1b
--- /dev/null
+++ b/vcpkg/ports/binlog/portfile.cmake
@@ -0,0 +1,29 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO morganstanley/binlog
+ REF 3fef8846f5ef98e64211e7982c2ead67e0b185a6
+ SHA512 106da76da3fc229211f8754306156bb7456d828678bfab18a0ad24f713ce1101debab4a75fe12bf7686bfab2f3f26eef66b57642447d7ddfb7de343f3ad8279d
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBINLOG_BUILD_BREAD=OFF
+ -DBINLOG_BUILD_BRECOVERY=OFF
+ -DBINLOG_BUILD_EXAMPLES=OFF
+ -DBINLOG_BUILD_UNIT_TESTS=OFF
+ -DBINLOG_BUILD_INTEGRATION_TESTS=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_benchmark=ON
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/binlog")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+vcpkg_copy_pdbs()
diff --git a/vcpkg/ports/binlog/vcpkg.json b/vcpkg/ports/binlog/vcpkg.json
new file mode 100644
index 0000000..a11da3a
--- /dev/null
+++ b/vcpkg/ports/binlog/vcpkg.json
@@ -0,0 +1,19 @@
+{
+ "name": "binlog",
+ "version-date": "2021-04-16",
+ "port-version": 1,
+ "description": "Binlog is a high performance C++ log library to produce structured binary logs.",
+ "homepage": "http://opensource.morganstanley.com/binlog/",
+ "license": "Apache-2.0",
+ "supports": "!uwp & !(arm64 & windows)",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}