aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/serdepp
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/serdepp
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/serdepp')
-rw-r--r--vcpkg/ports/serdepp/portfile.cmake28
-rw-r--r--vcpkg/ports/serdepp/vcpkg.json20
2 files changed, 48 insertions, 0 deletions
diff --git a/vcpkg/ports/serdepp/portfile.cmake b/vcpkg/ports/serdepp/portfile.cmake
new file mode 100644
index 0000000..007cc75
--- /dev/null
+++ b/vcpkg/ports/serdepp/portfile.cmake
@@ -0,0 +1,28 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO injae/serdepp
+ REF v0.1.4.1
+ SHA512 623414807e43d03f1ef1f9b7f02f10148b2745f5487047df3a678f92ccbe0a0f5f7d76cc6e2e88097e2c0e2cf2dde60b4f33dc9c6aaeafc7cd2dc3adfd88959f
+ HEAD_REF main
+)
+
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSERDEPP_BUILD_TESTING=OFF
+ -DENABLE_INLINE_CPPM_TOOLS=ON
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/serdepp)
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/cmake"
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/lib/cmake"
+)
+
+# # Handle copyright
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/serdepp/vcpkg.json b/vcpkg/ports/serdepp/vcpkg.json
new file mode 100644
index 0000000..0564822
--- /dev/null
+++ b/vcpkg/ports/serdepp/vcpkg.json
@@ -0,0 +1,20 @@
+{
+ "name": "serdepp",
+ "version": "0.1.4.1",
+ "description": "c++ 17 universal serialize deserialize library like rust serde, support libraries: [nlohmann_json, fmt, yaml-cpp, toml11, rapidjson]",
+ "homepage": "https://github.com/injae/serdepp",
+ "license": "MIT",
+ "supports": "!(osx & arm)",
+ "dependencies": [
+ "magic-enum",
+ "nameof",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}