early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

19
externals/vcpkg/ports/zstr/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mateidavid/zstr
REF v1.0.4
SHA512 148dd7741747917d826f0caf291730e14317c700961bec6ae360c1f6a3988d5db555c36428c9641fba3cd76a63b5880dce6b2af47a4388c5451bddce45c39944
HEAD_REF master
)
# Install source files
file(INSTALL ${SOURCE_PATH}/src/strict_fstream.hpp
${SOURCE_PATH}/src/zstr.hpp
${SOURCE_PATH}/src/zstr_make_unique_polyfill.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Install license
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
# Install usage
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})

4
externals/vcpkg/ports/zstr/usage vendored Executable file
View File

@@ -0,0 +1,4 @@
The package zstr is header only and can be used from CMake via:
find_path(ZSTR_INCLUDE_DIRS "zstr.hpp")
target_include_directories(main PRIVATE ${ZSTR_INCLUDE_DIRS})

10
externals/vcpkg/ports/zstr/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,10 @@
{
"name": "zstr",
"version-string": "1.0.4",
"port-version": 2,
"description": "This C++ header-only library enables the use of C++ standard iostreams to access ZLib-compressed streams.",
"homepage": "https://github.com/mateidavid/zstr",
"dependencies": [
"zlib"
]
}