1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-02 06:57:11 +02:00

Add D++ library.

This commit is contained in:
Sandu Liviu Catalin
2023-03-23 20:20:44 +02:00
parent b08a024298
commit cbd8f8b028
568 changed files with 131250 additions and 0 deletions

View File

@ -0,0 +1,32 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO brainboxdotcc/DPP
REF 02a16bc415ead32abc59fca8579c6611ce5e8ed6
SHA512 86d8abfd0f6796943634d104cd3298af4e71e9bdc9e7bf8fbf7b082e0dddb964b5f53aa0edff442060d7ec19dcf9d96e526b8dddee19388d75935e0bbd217a05
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/dpp")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
file(
INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

23
vendor/DPP/vcpkg/ports/dpp/vcpkg.json vendored Normal file
View File

@ -0,0 +1,23 @@
{
"name": "dpp",
"version": "10.0.22",
"description": "D++ Extremely Lightweight C++ Discord Library.",
"homepage": "https://dpp.dev/",
"license": "Apache-2.0",
"supports": "(windows & !static & !uwp) | linux | osx",
"dependencies": [
"libsodium",
"nlohmann-json",
"openssl",
"opus",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}

8412
vendor/DPP/vcpkg/versions/baseline.json vendored Normal file

File diff suppressed because it is too large Load Diff

44
vendor/DPP/vcpkg/versions/d-/dpp.json vendored Normal file
View File

@ -0,0 +1,44 @@
{
"versions": [
{
"git-tree": "05af421851179c32047dcde6c2aaf63dd558de19",
"version": "10.0.22",
"port-version": 0
},
{
"git-tree": "464ce638a24ff77d86e3c0649cffbf599d13a9b2",
"version": "10.0.21",
"port-version": 0
},
{
"git-tree": "5d961ae0b2739368c053459b3f6d53ecce397a6f",
"version": "10.0.20",
"port-version": 0
},
{
"git-tree": "d0f56da8e2b3026a15bbf3856d1c601a635065e6",
"version": "10.0.19",
"port-version": 0
},
{
"git-tree": "7e80b88acd9bc75ce2b9bcaeae729f758ca2fcde",
"version": "10.0.18",
"port-version": 0
},
{
"git-tree": "aee1785670d15751e08e0fee3426faf2d8559ee9",
"version": "10.0.17",
"port-version": 0
},
{
"git-tree": "bf6a0accfbdf7a2a5f639ed5c32247e2a81b7b48",
"version": "10.0.16",
"port-version": 0
},
{
"git-tree": "fe4fafd238e318a6ddf7d5c4db59da499328fdae",
"version": "10.0.15",
"port-version": 0
}
]
}