[trompeloeil] Update to 41 (#21406)

* Update trompeloeil to 41

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-11-15 23:17:48 +01:00 committed by GitHub
parent 969e230ab5
commit 3e9375fc7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 17 deletions

View File

@ -1,27 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO rollbear/trompeloeil
REF 08cba57ed7207c8ad5c94fd2a20dc0bfecabe878 # v38
SHA512 b51626eb263f971f1ed6e29d86256adde19f9f60487e00a6098933de37d0a1cb64b6d797447fcde6f5121a1b29f39bd7b6aed8f5889450d72ef6a76d46eb921f
REF v41
SHA512 f68a3f1c5f2cd1b49fb8c90612383d68ca1a0bcd1ca6b0a0fbe6e3cef23af011b5503d788023519f182a1221d55774796115f9248caf33175f919fd18e5e43f9
HEAD_REF master
PATCHES disable_master_project.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/trompeloeil)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/trompeloeil)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
if(NOT EXISTS ${CURRENT_PACKAGES_DIR}/include/trompeloeil.hpp)
if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/include/trompeloeil.hpp")
message(FATAL_ERROR "Main includes have moved. Please update the forwarder.")
endif()
configure_file(${SOURCE_PATH}/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/trompeloeil/copyright COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE_1_0.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -1,7 +1,16 @@
{
"name": "trompeloeil",
"version-string": "38",
"port-version": 1,
"version": "41",
"description": "A thread-safe header-only mocking framework for C++11/14 using the Boost Software License 1.0",
"homepage": "https://github.com/rollbear/trompeloeil"
"homepage": "https://github.com/rollbear/trompeloeil",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6849,8 +6849,8 @@
"port-version": 1
},
"trompeloeil": {
"baseline": "38",
"port-version": 1
"baseline": "41",
"port-version": 0
},
"tsl-hopscotch-map": {
"baseline": "2.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7345802a43866751e65d0ce0caaa24566a1b7a3a",
"version": "41",
"port-version": 0
},
{
"git-tree": "5691d561cb4ae588d604882cd58539b406222cac",
"version-string": "38",