early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/daw-utf-range/portfile.cmake
vendored
Executable file
22
externals/vcpkg/ports/daw-utf-range/portfile.cmake
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO beached/utf_range
|
||||
REF 105862ffe283e96ae514d4a6ec98d6ea16b25827 #v2.2.2
|
||||
SHA512 49772c7450ec432925b44ecddaee594ecec01afa4cc49db88e798347d6e5df51b7acf2bea7e11951b7de42a0a4d5a6c9046d5cb101a65e7da68b7d7242ad5b1c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DDAW_USE_PACKAGE_MANAGEMENT=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
|
||||
# remove empty lib and debug/lib directories (and duplicate files from debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
18
externals/vcpkg/ports/daw-utf-range/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/daw-utf-range/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "daw-utf-range",
|
||||
"version": "2.2.2",
|
||||
"description": "Header-only utf8 string range used by daw-json-link. Includes a constexpr/noexcept modified version of utfcpp.",
|
||||
"homepage": "https://github.com/beached/header_libraries",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
"daw-header-libraries",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user