mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[cppdap] new port (#34214)
This commit is contained in:
parent
e2f81f7984
commit
0659bf1750
21
ports/cppdap/portfile.cmake
Normal file
21
ports/cppdap/portfile.cmake
Normal file
@ -0,0 +1,21 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/cppdap
|
||||
REF "dap-${VERSION}"
|
||||
SHA512 36f31cf7b90190820f5a5b7df679a3ca1a4f51b58a7a4c46f85c7b55b0ad9dbeba3436992b5eb8a3fd4499fc38bbf2b16f834f5f1989717f151abf13c262c747
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cppdap")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
18
ports/cppdap/vcpkg.json
Normal file
18
ports/cppdap/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "cppdap",
|
||||
"version-semver": "1.58.0-a",
|
||||
"description": "A C++11 library (\"SDK\") implementation of the Debug Adapter Protocol, providing an API for implementing a DAP client or server.",
|
||||
"homepage": "https://github.com/google/cppdap",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -1820,6 +1820,10 @@
|
||||
"baseline": "2022-10-25",
|
||||
"port-version": 0
|
||||
},
|
||||
"cppdap": {
|
||||
"baseline": "1.58.0-a",
|
||||
"port-version": 0
|
||||
},
|
||||
"cppfs": {
|
||||
"baseline": "1.3.0",
|
||||
"port-version": 3
|
||||
|
9
versions/c-/cppdap.json
Normal file
9
versions/c-/cppdap.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ab1e5e1b50226ecd6d45d53b357dac35051a8a47",
|
||||
"version-semver": "1.58.0-a",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user