aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fastio/portfile.cmake
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/fastio/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/fastio/portfile.cmake')
-rw-r--r--vcpkg/ports/fastio/portfile.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/fastio/portfile.cmake b/vcpkg/ports/fastio/portfile.cmake
new file mode 100644
index 0000000..996f53c
--- /dev/null
+++ b/vcpkg/ports/fastio/portfile.cmake
@@ -0,0 +1,20 @@
+# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO cppfastio/fast_io
+ REF dd78867b7ae27da71c2e6d5d4f543066c301c047
+ SHA512 7376b4f2420c6b21d1b81f693a067c43ca16ad3110a53893687e1715acfdfa4d41604fb1d13c1537809a9f14321cfae6829f56a10bdceba72926feb45ec9d0a3
+ HEAD_REF master
+)
+
+set(VCPKG_BUILD_TYPE release) # header-only port
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")