early-access version 2853
This commit is contained in:
28
externals/vcpkg/ports/optional-lite/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/optional-lite/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO martinmoene/optional-lite
|
||||
REF v3.5.0
|
||||
SHA512 e578d391bc95e2a5302b4b02e0b17659026b2743fc5c1e16cd83f6227fa9b5990fa3fa23e808a4ea0f5bdafbf80834b0c462d563ab615907f113ee5a09ae88f5
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DOPTIONAL_LITE_OPT_BUILD_TESTS=OFF
|
||||
-DOPTIONAL_LITE_OPT_BUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
CONFIG_PATH "lib/cmake/${PORT}"
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug"
|
||||
"${CURRENT_PACKAGES_DIR}/lib"
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
"${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
|
||||
)
|
||||
17
externals/vcpkg/ports/optional-lite/vcpkg.json
vendored
Executable file
17
externals/vcpkg/ports/optional-lite/vcpkg.json
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "optional-lite",
|
||||
"version": "3.5.0",
|
||||
"port-version": 1,
|
||||
"description": "A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library",
|
||||
"homepage": "https://github.com/martinmoene/optional-lite",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user