mirror of
https://github.com/microsoft/vcpkg
synced 2024-11-21 16:09:03 -07:00
[delaunator-cpp] Add new port (#41886)
This commit is contained in:
parent
61cf4bf417
commit
b164fbd9d1
4 changed files with 36 additions and 0 deletions
16
ports/delaunator-cpp/portfile.cmake
Normal file
16
ports/delaunator-cpp/portfile.cmake
Normal file
|
@ -0,0 +1,16 @@
|
|||
# header-only library
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO abellgithub/delaunator-cpp
|
||||
REF "v${VERSION}"
|
||||
SHA512 14831b2b86e4a53b7da702d551d93ce555c639721bd5d84733c0bf994e71885d0af5963b8033e278dafa73f59996da4eee03fcd19e78206f0dbcf66077875d8b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY "${SOURCE_PATH}/include/delaunator-header-only.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
file(COPY "${SOURCE_PATH}/include/delaunator.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
file(COPY "${SOURCE_PATH}/include/delaunator.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
7
ports/delaunator-cpp/vcpkg.json
Normal file
7
ports/delaunator-cpp/vcpkg.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "delaunator-cpp",
|
||||
"version": "1.0.0",
|
||||
"description": "A really fast C++ library for Delaunay triangulation of 2D points",
|
||||
"homepage": "https://github.com/abellgithub/delaunator-cpp",
|
||||
"license": "MIT"
|
||||
}
|
|
@ -2268,6 +2268,10 @@
|
|||
"baseline": "1.18",
|
||||
"port-version": 1
|
||||
},
|
||||
"delaunator-cpp": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"detours": {
|
||||
"baseline": "4.0.1",
|
||||
"port-version": 8
|
||||
|
|
9
versions/d-/delaunator-cpp.json
Normal file
9
versions/d-/delaunator-cpp.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "552dc211e01f1f3b890b08cbb802eb6aa167944a",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue