mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[eljonny-testcpp]: new port (#37471)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
25
ports/eljonny-testcpp/portfile.cmake
Normal file
25
ports/eljonny-testcpp/portfile.cmake
Normal file
@@ -0,0 +1,25 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO eljonny/TestCPP
|
||||
REF "v${VERSION}"
|
||||
SHA512 a47803b2e36cc5ed6055d27865d61225368daaebefe615d22afb2055b4da6ff44a8da8a4bee72f7f35bb9a53ebc12229143b16401391cef130818f105a42df3e
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
DO_NOT_DELETE_PARENT_CONFIG_PATH
|
||||
CONFIG_PATH "lib/cmake"
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
||||
6
ports/eljonny-testcpp/usage
Normal file
6
ports/eljonny-testcpp/usage
Normal file
@@ -0,0 +1,6 @@
|
||||
eljonny-testcpp provides CMake targets:
|
||||
|
||||
find_package(TestCPP CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE cpptesting::TestCPP)
|
||||
|
||||
See https://github.com/eljonny/TestCPP/blob/main/README.md for more information
|
||||
17
ports/eljonny-testcpp/vcpkg.json
Normal file
17
ports/eljonny-testcpp/vcpkg.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "eljonny-testcpp",
|
||||
"version": "0.3.0-beta.4",
|
||||
"description": "A simple C++ test framework with no dependencies other than C++11 STL.",
|
||||
"homepage": "https://github.com/eljonny/TestCPP",
|
||||
"license": "Unlicense",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2672,6 +2672,10 @@
|
||||
"baseline": "0.193",
|
||||
"port-version": 0
|
||||
},
|
||||
"eljonny-testcpp": {
|
||||
"baseline": "0.3.0-beta.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"embree3": {
|
||||
"baseline": "3.13.5",
|
||||
"port-version": 4
|
||||
|
||||
9
versions/e-/eljonny-testcpp.json
Normal file
9
versions/e-/eljonny-testcpp.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0ea650f4ac3c7a41b7ac6593c600ddceeef27fa0",
|
||||
"version": "0.3.0-beta.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user