early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/treehopper/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/treehopper/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO treehopper-electronics/treehopper-sdk
|
||||
REF 1.11.3
|
||||
SHA512 65b748375b798787c8b59f9657151f340920c939c3f079105b9b78f4e3b775125598106c6dfa4feba111a64d30f007003a70110ac767802a7dd1127a25c9fb14
|
||||
HEAD_REF master)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}/C++/API/
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_cmake_targets()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/C++/API/inc/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/Treehopper/)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
10
externals/vcpkg/ports/treehopper/vcpkg.json
vendored
Executable file
10
externals/vcpkg/ports/treehopper/vcpkg.json
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "treehopper",
|
||||
"version-string": "1.11.3",
|
||||
"port-version": 5,
|
||||
"description": "Treehopper connects the physical world to your computer, tablet, or smartphone.",
|
||||
"homepage": "https://treehopper.io",
|
||||
"dependencies": [
|
||||
"libusb"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user