mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-02 23:17:12 +02:00
Add D++ library.
This commit is contained in:
29
vendor/DPP/cmake/Raw-Files/Bottom-Of-Portfile.cmake
vendored
Normal file
29
vendor/DPP/cmake/Raw-Files/Bottom-Of-Portfile.cmake
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
make-pkgconfig-required.patch
|
||||
)
|
||||
|
||||
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}")
|
||||
|
22
vendor/DPP/cmake/Raw-Files/Bottom-Of-Version-File.txt
vendored
Normal file
22
vendor/DPP/cmake/Raw-Files/Bottom-Of-Version-File.txt
vendored
Normal file
@ -0,0 +1,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",
|
||||
"zlib",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
1
vendor/DPP/cmake/Raw-Files/Middle-Of-Portfile.cmake
vendored
Normal file
1
vendor/DPP/cmake/Raw-Files/Middle-Of-Portfile.cmake
vendored
Normal file
@ -0,0 +1 @@
|
||||
SHA512
|
4
vendor/DPP/cmake/Raw-Files/Top-Of-Portfile.cmake
vendored
Normal file
4
vendor/DPP/cmake/Raw-Files/Top-Of-Portfile.cmake
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO brainboxdotcc/DPP
|
||||
REF
|
3
vendor/DPP/cmake/Raw-Files/Top-Of-Version-File.txt
vendored
Normal file
3
vendor/DPP/cmake/Raw-Files/Top-Of-Version-File.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "dpp",
|
||||
"version":
|
4
vendor/DPP/cmake/Raw-Files/dpp.json
vendored
Normal file
4
vendor/DPP/cmake/Raw-Files/dpp.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"versions": [
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user