mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[snitch] Add new port (#36499)
* Add snitch library to vcpkg * version database
This commit is contained in:
parent
55ac9ea4a9
commit
c89c3507e1
23
ports/snitch/portfile.cmake
Normal file
23
ports/snitch/portfile.cmake
Normal file
@ -0,0 +1,23 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO snitch-org/snitch
|
||||
REF v1.2.4
|
||||
SHA512 783c4667d5c75d5d719d6c85a47ee795099256bacd01324d9bd5550be5f77be265f3372190b89ac109a11479bbf99f90a9e7afb32e6bdfeaab3a936ad50a219a
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DSNITCH_DEFINE_MAIN=0
|
||||
-DCMAKE_CXX_STANDARD=20
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(
|
||||
CONFIG_PATH lib/cmake/snitch
|
||||
)
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
17
ports/snitch/vcpkg.json
Normal file
17
ports/snitch/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "snitch",
|
||||
"version": "1.2.4",
|
||||
"description": "Lightweight C++20 testing framework.",
|
||||
"homepage": "https://github.com/snitch-org/snitch",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -8052,6 +8052,10 @@
|
||||
"baseline": "0",
|
||||
"port-version": 2
|
||||
},
|
||||
"snitch": {
|
||||
"baseline": "1.2.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"snowhouse": {
|
||||
"baseline": "5.0.0",
|
||||
"port-version": 2
|
||||
|
9
versions/s-/snitch.json
Normal file
9
versions/s-/snitch.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "565f1464cf23c18da8ac0f547d3907f732249957",
|
||||
"version": "1.2.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user