[gz-msgs] Fix the port to allow caching of binary files in tools (#44857)

This commit is contained in:
talregev 2025-04-07 22:33:34 +03:00 committed by GitHub
parent 7a35b5b8ce
commit 040dfddfd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 2 deletions

View File

@ -23,7 +23,7 @@ ignition_modular_library(
)
file(GLOB BIN_FILES "${CURRENT_PACKAGES_DIR}/bin/${PORT}${VERSION_MAJOR}_*")
file(COPY ${BIN_FILES} DESTINATION ${CURRENT_INSTALLED_DIR}/tools/${PORT}${VERSION_MAJOR})
file(COPY ${BIN_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT}${VERSION_MAJOR})
file(REMOVE_RECURSE ${BIN_FILES})
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
@ -34,3 +34,5 @@ endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin")
endif()
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}${VERSION_MAJOR}")

View File

@ -1,6 +1,7 @@
{
"name": "gz-msgs",
"version": "11.0.2",
"port-version": 1,
"description": "Middleware protobuf messages for robotics",
"license": "Apache-2.0",
"supports": "!(android | arm | uwp)",

View File

@ -3454,7 +3454,7 @@
},
"gz-msgs": {
"baseline": "11.0.2",
"port-version": 0
"port-version": 1
},
"gz-msgs9": {
"baseline": "9.5.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1f150b11ced24c5a927e7c646226e1e560d620a6",
"version": "11.0.2",
"port-version": 1
},
{
"git-tree": "6403c9d8c36bb22e31b70805fc0b47feae67f12f",
"version": "11.0.2",