Add quadtree

This commit is contained in:
Meyer Zinn 2020-04-11 13:52:54 -05:00
parent 941d546454
commit 37578d6df2
2 changed files with 24 additions and 0 deletions

4
ports/quadtree/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: quadtree
Version: 1.0.0
Description: A simple and modern C++ quadtree implementation
Homepage: https://github.com/pvigier/Quadtree

View File

@ -0,0 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pvigier/Quadtree
REF fec2e1a011f656353ba12c58cefe33482e1a27b5
SHA512 8291afb29b9ff5714125e411122f6f10e1c2e4c2109384e25afa834548dc1f63c90b2d09c7cfed213ad69a8c54cf32fc598783b3ff0882bc86562594895d5c35
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DCODE_COVERAGE=OFF
-DBUILD_BENCHMARKS=OFF
-DBUILD_TESTING=OFF
-DBUILD_EXAMPLES=OFF
)
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/quadtree)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quadtree/copyright)