aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xbyak
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/xbyak
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/xbyak')
-rw-r--r--vcpkg/ports/xbyak/portfile.cmake20
-rw-r--r--vcpkg/ports/xbyak/vcpkg.json18
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/xbyak/portfile.cmake b/vcpkg/ports/xbyak/portfile.cmake
new file mode 100644
index 0000000..ab4c62b
--- /dev/null
+++ b/vcpkg/ports/xbyak/portfile.cmake
@@ -0,0 +1,20 @@
+string(REGEX REPLACE "^([0-9]+)[.]([1-9])\$" "\\1.0\\2" VERSION_STR "${VERSION}")
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO herumi/xbyak
+ REF "v${VERSION_STR}"
+ SHA512 443c5c0f14182e46b07af18ee5bd631a0557c37c6b92f6b19a3100dcc8f7b8baa100b7f142fc182cb8d74537bd69459f1065b39078a8a8d02f247133c9c46be4
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/xbyak")
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")
diff --git a/vcpkg/ports/xbyak/vcpkg.json b/vcpkg/ports/xbyak/vcpkg.json
new file mode 100644
index 0000000..f21ea86
--- /dev/null
+++ b/vcpkg/ports/xbyak/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "xbyak",
+ "version": "7.28",
+ "description": "Xbyak is a JIT assembler for x86(IA-32)/x64(AMD64, x86-64).",
+ "homepage": "https://github.com/herumi/xbyak",
+ "license": "BSD-3-Clause",
+ "supports": "!(arm | uwp)",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}