diff options
Diffstat (limited to 'vcpkg/ports/jsonifier')
| -rw-r--r-- | vcpkg/ports/jsonifier/portfile.cmake | 17 | ||||
| -rw-r--r-- | vcpkg/ports/jsonifier/uninstall-head.patch | 13 | ||||
| -rw-r--r-- | vcpkg/ports/jsonifier/vcpkg.json | 14 |
3 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/jsonifier/portfile.cmake b/vcpkg/ports/jsonifier/portfile.cmake new file mode 100644 index 0000000..22d4b01 --- /dev/null +++ b/vcpkg/ports/jsonifier/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO realtimechris/jsonifier
+ REF "v${VERSION}"
+ SHA512 d6465426218429a1597fa66b2d8cb912bce00831d663be7b8ea406267537dd6f455c1b99c3c8551dd8165a75d9dbe42fefedbad5979eb45d01e0286f08daad96
+ 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/jsonifier/uninstall-head.patch b/vcpkg/ports/jsonifier/uninstall-head.patch new file mode 100644 index 0000000..f00fc12 --- /dev/null +++ b/vcpkg/ports/jsonifier/uninstall-head.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fc4ed65..23a9738 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -63,7 +63,7 @@ set_target_properties( + OUTPUT_NAME "jsonifier" + CXX_STANDARD_REQUIRED ON + CXX_EXTENSIONS OFF +- PUBLIC_HEADER "${HEADERS}" ++ #PUBLIC_HEADER "${HEADERS}" + ) + + target_include_directories( diff --git a/vcpkg/ports/jsonifier/vcpkg.json b/vcpkg/ports/jsonifier/vcpkg.json new file mode 100644 index 0000000..1d91962 --- /dev/null +++ b/vcpkg/ports/jsonifier/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "jsonifier", + "version": "0.9.98", + "description": "A few classes for parsing and serializing json - very rapidly.", + "homepage": "https://github.com/realtimechris/jsonifier", + "license": "MIT", + "supports": "(windows & x64 & !xbox) | (linux & x64) | (osx & x64)", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |