mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[gazebo] no absolute paths (#24844)
This commit is contained in:
parent
0406852bee
commit
413c11d3c5
@ -30,12 +30,20 @@ vcpkg_cmake_configure(
|
|||||||
-DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON
|
-DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON
|
||||||
-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf.exe
|
-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf.exe
|
||||||
${FEATURE_OPTIONS}
|
${FEATURE_OPTIONS}
|
||||||
|
-DBUILD_TESTING=OFF # Not enabled by default, but to be sure
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/gazebo")
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/gazebo")
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/gazebo-11/gazebo/test")
|
||||||
|
|
||||||
|
foreach(postfix "" "-11")
|
||||||
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}${postfix}/setup.sh" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/../..")
|
||||||
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}${postfix}/setup.sh" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../..")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
vcpkg_copy_tools(
|
vcpkg_copy_tools(
|
||||||
TOOL_NAMES gazebo gz gzclient gzserver
|
TOOL_NAMES gazebo gz gzclient gzserver
|
||||||
AUTO_CLEAN
|
AUTO_CLEAN
|
||||||
@ -48,5 +56,6 @@ endforeach()
|
|||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||||
|
|
||||||
|
vcpkg_fixup_pkgconfig()
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "gazebo",
|
"name": "gazebo",
|
||||||
"version-date": "2022-01-20",
|
"version-date": "2022-01-20",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Open source robotics simulator.",
|
"description": "Open source robotics simulator.",
|
||||||
"homepage": "http://gazebosim.org",
|
"homepage": "http://gazebosim.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
ignition_modular_library(NAME transport
|
ignition_modular_library(NAME transport
|
||||||
VERSION "8.1.0"
|
VERSION "8.1.0"
|
||||||
SHA512 04b4cd954453505398da35b284e7db4b4691d9a705924c41e0082fd20e94176a3eaeae7329fd9992aaa50f90b2d8973c71daf763ccff58aa30d06be1da15189a
|
SHA512 04b4cd954453505398da35b284e7db4b4691d9a705924c41e0082fd20e94176a3eaeae7329fd9992aaa50f90b2d8973c71daf763ccff58aa30d06be1da15189a)
|
||||||
# This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 )
|
|
||||||
DISABLE_PKGCONFIG_INSTALL)
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ignition-transport8",
|
"name": "ignition-transport8",
|
||||||
"version": "8.1.0",
|
"version": "8.1.0",
|
||||||
"port-version": 3,
|
"port-version": 4,
|
||||||
"description": "Transport middleware for robotics",
|
"description": "Transport middleware for robotics",
|
||||||
"license": null,
|
"license": null,
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -2426,7 +2426,7 @@
|
|||||||
},
|
},
|
||||||
"gazebo": {
|
"gazebo": {
|
||||||
"baseline": "2022-01-20",
|
"baseline": "2022-01-20",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"gcem": {
|
"gcem": {
|
||||||
"baseline": "1.14.1",
|
"baseline": "1.14.1",
|
||||||
@ -2898,7 +2898,7 @@
|
|||||||
},
|
},
|
||||||
"ignition-transport8": {
|
"ignition-transport8": {
|
||||||
"baseline": "8.1.0",
|
"baseline": "8.1.0",
|
||||||
"port-version": 3
|
"port-version": 4
|
||||||
},
|
},
|
||||||
"ignition-transport9": {
|
"ignition-transport9": {
|
||||||
"baseline": "9.0.0",
|
"baseline": "9.0.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "702a7de5c38ff156813a73a32eac6c7ca73248e4",
|
||||||
|
"version-date": "2022-01-20",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "983e90284c8c0073e0193750a412eb4df01accdc",
|
"git-tree": "983e90284c8c0073e0193750a412eb4df01accdc",
|
||||||
"version-date": "2022-01-20",
|
"version-date": "2022-01-20",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "967c8839fce7bd85b58ed1d4a5506a2be278a8ef",
|
||||||
|
"version": "8.1.0",
|
||||||
|
"port-version": 4
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "df4d904c15b18ca24200a42fdfc4e5930c91618a",
|
"git-tree": "df4d904c15b18ca24200a42fdfc4e5930c91618a",
|
||||||
"version": "8.1.0",
|
"version": "8.1.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user