early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/openigtlink/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/openigtlink/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO openigtlink/OpenIGTLink
|
||||
REF v3.0
|
||||
SHA512 3f62ef1c4ca349f653712cecd43af8b5afce642cc3950256498905999861d68143ba3003f6b0899f5f5c3c5c755eb282c63488ac59b4793b3622a47571452739
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
-DOpenIGTLink_INSTALL_PACKAGE_DIR=share/${PORT}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Handle copyright
|
||||
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
7
externals/vcpkg/ports/openigtlink/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/openigtlink/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "openigtlink",
|
||||
"version-string": "3.0",
|
||||
"port-version": 2,
|
||||
"description": "OpenIGTLink is an open-source network communication interface specifically designed for image-guided interventions.",
|
||||
"homepage": "https://github.com/openigtlink/OpenIGTLink"
|
||||
}
|
||||
Reference in New Issue
Block a user