early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/ghc-filesystem/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/ghc-filesystem/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO gulrak/filesystem
|
||||
REF v1.5.10
|
||||
HEAD_REF master
|
||||
SHA512 470dd9e1c4358f9d8d9f531d8c3c6716cdd156c815315748436a1dc3caf095d320e58eae2274df8c15e293cc96170752fb00aed8ad2210d417b174c13297fbac
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DGHC_FILESYSTEM_BUILD_TESTING=OFF
|
||||
-DGHC_FILESYSTEM_BUILD_EXAMPLES=OFF
|
||||
-DGHC_FILESYSTEM_WITH_INSTALL=ON
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME ghc_filesystem
|
||||
CONFIG_PATH lib/cmake/ghc_filesystem
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
16
externals/vcpkg/ports/ghc-filesystem/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/ghc-filesystem/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "ghc-filesystem",
|
||||
"version": "1.5.10",
|
||||
"description": "An implementation of C++17 std::filesystem for C++11/C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD",
|
||||
"homepage": "https://github.com/gulrak/filesystem",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user