early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/ms-gsl/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/ms-gsl/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
#header-only library with an install target
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/GSL
|
||||
REF a3534567187d2edc428efd3f13466ff75fe5805c
|
||||
SHA512 5bd6aad37fee3b56a2ee2fed10d6ef02fdcf37a1f40b3fb1bbec8146a573e235169b315405d010ab75175674ed82658c8202f40b128a849c5250b4a1b8b0a1b3
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DGSL_TEST=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME Microsoft.GSL
|
||||
CONFIG_PATH share/cmake/Microsoft.GSL
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
16
externals/vcpkg/ports/ms-gsl/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/ms-gsl/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "ms-gsl",
|
||||
"version": "4.0.0",
|
||||
"description": "Microsoft implementation of the Guidelines Support Library",
|
||||
"homepage": "https://github.com/Microsoft/GSL",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user