early-access version 2853
This commit is contained in:
33
externals/vcpkg/ports/absent/portfile.cmake
vendored
Executable file
33
externals/vcpkg/ports/absent/portfile.cmake
vendored
Executable file
@@ -0,0 +1,33 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO rvarago/absent
|
||||
REF 0.3.1
|
||||
SHA512 c7b7d29422ef8afc48e3093496e1dd055cfe9969ae037c2b06ea70fe4283e7a7e9129171efaa257e909c535e24df5861b992b24b00ec03f965730e6a22e13015
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(
|
||||
CONFIG_PATH lib/cmake/${PORT}
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
${CURRENT_PACKAGES_DIR}/debug
|
||||
${CURRENT_PACKAGES_DIR}/lib
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
|
||||
)
|
||||
|
||||
7
externals/vcpkg/ports/absent/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/absent/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "absent",
|
||||
"version-string": "0.3.1",
|
||||
"port-version": 1,
|
||||
"description": "A small C++17 library meant to simplify the composition of nullable types in a generic, type-safe, and declarative way",
|
||||
"homepage": "https://github.com/rvarago/absent"
|
||||
}
|
||||
Reference in New Issue
Block a user