early-access version 2853
This commit is contained in:
31
externals/vcpkg/ports/tl-expected/portfile.cmake
vendored
Executable file
31
externals/vcpkg/ports/tl-expected/portfile.cmake
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO TartanLlama/expected
|
||||
REF v1.0.0
|
||||
SHA512 747ea34b5540dfcf595896332851f10c52a823ab8ba3fc8152478b0a9e8ca01f0f26827348407249827f4106ff577bd6e697ea6f749c1f21bd1f0913a621075d
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH TL_CMAKE_SOURCE_DIR
|
||||
REPO TartanLlama/tl-cmake
|
||||
REF 284c6a3f0f61823cc3871b0f193e8df699e2c4ce
|
||||
SHA512 f611326d75d6e87e58cb05e91f9506b1d83e6fd3b214fe311c4c15604feabfb7a18bbf9c4b4c389a39d615eb468b1f4b15802ab9f44f334a12310cb183fa77a7
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
-DFETCHCONTENT_SOURCE_DIR_TL_CMAKE=${TL_CMAKE_SOURCE_DIR}
|
||||
-DEXPECTED_ENABLE_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/tl-expected RENAME copyright)
|
||||
6
externals/vcpkg/ports/tl-expected/vcpkg.json
vendored
Executable file
6
externals/vcpkg/ports/tl-expected/vcpkg.json
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "tl-expected",
|
||||
"version-string": "1.0.0",
|
||||
"port-version": 2,
|
||||
"description": "C++11/14/17 std::expected implementation with functional-style extensions"
|
||||
}
|
||||
Reference in New Issue
Block a user