early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/bext-ut/avoid-cpm.patch
vendored
Executable file
12
externals/vcpkg/ports/bext-ut/avoid-cpm.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -36,7 +36,7 @@
|
||||
# ---- Add dependencies via CPM ----
|
||||
# see https://github.com/cpm-cmake/CPM.cmake for more info
|
||||
|
||||
-if(CMAKE_VERSION VERSION_LESS 3.20.0)
|
||||
+if(1)
|
||||
# see https://github.com/TheLartians/PackageProject.cmake/pull/19
|
||||
include(cmake/PackageProject.cmake)
|
||||
else()
|
||||
26
externals/vcpkg/ports/bext-ut/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/bext-ut/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO boost-ext/ut
|
||||
REF v1.1.9
|
||||
SHA512 81a6b80948d3a203534244f62f5f3ac57593083cc0c32484498a7d01d29455f7dcb33e2ec0587609b8dff33a81a5551796d7681d48fd93e817d6d0c31697234e
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
avoid-cpm.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBOOST_UT_BUILD_BENCHMARKS=OFF
|
||||
-DBOOST_UT_BUILD_EXAMPLES=OFF
|
||||
-DBOOST_UT_BUILD_TESTS=OFF
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME ut CONFIG_PATH lib/cmake/ut-1.1.8)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"
|
||||
"${CURRENT_PACKAGES_DIR}/lib"
|
||||
)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
17
externals/vcpkg/ports/bext-ut/vcpkg.json
vendored
Executable file
17
externals/vcpkg/ports/bext-ut/vcpkg.json
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "bext-ut",
|
||||
"version": "1.1.9",
|
||||
"description": "UT: C++20 μ(micro)/Unit Testing Framework",
|
||||
"homepage": "https://boost-ext.github.io/ut/",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user