mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
[bark] New port v0.3.0 (#41570)
This commit is contained in:
parent
f28bf463b9
commit
4e149b3da8
29
ports/bark/portfile.cmake
Normal file
29
ports/bark/portfile.cmake
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO twig-energy/bark
|
||||||
|
REF "${VERSION}"
|
||||||
|
HEAD_REF main
|
||||||
|
SHA512 96fca5df5a3a0bc91d8b626f1538c517df778dc2a0cf29f1061ef041a270bb2f798525ad4c6a64fbaf7c5e0617475a0abf581eb3f15003e769adc317f1c9e746
|
||||||
|
)
|
||||||
|
|
||||||
|
if(VCPKG_TARGET_IS_WINDOWS)
|
||||||
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
vcpkg_cmake_configure(
|
||||||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
OPTIONS
|
||||||
|
-DCMAKE_CXX_STANDARD=20
|
||||||
|
-DCMAKE_CXX_STANDARD_REQUIRED=ON
|
||||||
|
-DCMAKE_CXX_EXTENSIONS=OFF)
|
||||||
|
|
||||||
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bark)
|
||||||
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
|
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
|
||||||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
4
ports/bark/usage
Normal file
4
ports/bark/usage
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
bark provides CMake targets:
|
||||||
|
|
||||||
|
find_package(bark CONFIG REQUIRED)
|
||||||
|
target_link_libraries(main PRIVATE twig::bark)
|
31
ports/bark/vcpkg.json
Normal file
31
ports/bark/vcpkg.json
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"name": "bark",
|
||||||
|
"version-semver": "0.3.0",
|
||||||
|
"description": "A modern, low latency datadog client for C++",
|
||||||
|
"homepage": "https://github.com/twig-energy/bark",
|
||||||
|
"license": "MIT",
|
||||||
|
"supports": "!(uwp | osx)",
|
||||||
|
"dependencies": [
|
||||||
|
"asio",
|
||||||
|
"fmt",
|
||||||
|
"mpmcqueue",
|
||||||
|
"spscqueue",
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"features": {
|
||||||
|
"test": {
|
||||||
|
"description": "Dependencies for testing",
|
||||||
|
"dependencies": [
|
||||||
|
"benchmark",
|
||||||
|
"doctest"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
9
versions/b-/bark.json
Normal file
9
versions/b-/bark.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "07b2df93bac4785ff63f152e6616d86c4dd0c16e",
|
||||||
|
"version-semver": "0.3.0",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -560,6 +560,10 @@
|
|||||||
"baseline": "3.15.0",
|
"baseline": "3.15.0",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
|
"bark": {
|
||||||
|
"baseline": "0.3.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"basisu": {
|
"basisu": {
|
||||||
"baseline": "1.16.4",
|
"baseline": "1.16.4",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user