early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e59ab8..615a6cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,9 +34,6 @@ target_include_directories(
)
set(MASTER_PROJECT OFF)
-if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
- set(MASTER_PROJECT ON)
-endif()
if (MASTER_PROJECT AND CMAKE_BUILD_TYPE MATCHES Debug)

View File

@@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO rollbear/trompeloeil
REF v41
SHA512 f68a3f1c5f2cd1b49fb8c90612383d68ca1a0bcd1ca6b0a0fbe6e3cef23af011b5503d788023519f182a1221d55774796115f9248caf33175f919fd18e5e43f9
HEAD_REF master
PATCHES disable_master_project.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/trompeloeil)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
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/${PORT}/copyright" COPYONLY)

16
externals/vcpkg/ports/trompeloeil/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,16 @@
{
"name": "trompeloeil",
"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",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}