mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 23:22:51 +08:00
[vcpkg baseline][backward-cpp,ignition-tools] Fix include dir and dependencies (#30669)
* [backward-cpp] Fix exported include path * [ignition-tools] Fix dependencies
This commit is contained in:
parent
58b59859de
commit
a31a450d8e
16
ports/backward-cpp/include-dir.diff
Normal file
16
ports/backward-cpp/include-dir.diff
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/BackwardConfig.cmake b/BackwardConfig.cmake
|
||||||
|
index a982adc..0c549f3 100644
|
||||||
|
--- a/BackwardConfig.cmake
|
||||||
|
+++ b/BackwardConfig.cmake
|
||||||
|
@@ -198,6 +198,11 @@ if(WIN32)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(BACKWARD_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
+if(NOT PROJECT_NAME STREQUAL "backward")
|
||||||
|
+ get_filename_component(BACKWARD_INCLUDE_DIR "${BACKWARD_INCLUDE_DIR}" DIRECTORY)
|
||||||
|
+ get_filename_component(BACKWARD_INCLUDE_DIR "${BACKWARD_INCLUDE_DIR}" DIRECTORY)
|
||||||
|
+ set(BACKWARD_INCLUDE_DIR "${BACKWARD_INCLUDE_DIR}/include")
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
set(BACKWARD_HAS_EXTERNAL_LIBRARIES FALSE)
|
||||||
|
set(FIND_PACKAGE_REQUIRED_VARS BACKWARD_INCLUDE_DIR)
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
|||||||
REF "v${VERSION}"
|
REF "v${VERSION}"
|
||||||
SHA512 db0256a54819952ff1d92e05d6ab81fe979d4826ebb6651b6b08c30e7a0091879dfeff33d81f9599462152ce68e61e2c8c42bf039129bc6b28d1e68b1eab039b
|
SHA512 db0256a54819952ff1d92e05d6ab81fe979d4826ebb6651b6b08c30e7a0091879dfeff33d81f9599462152ce68e61e2c8c42bf039129bc6b28d1e68b1eab039b
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES
|
||||||
|
include-dir.diff
|
||||||
)
|
)
|
||||||
|
|
||||||
set(VCPKG_BUILD_TYPE release) # header-only
|
set(VCPKG_BUILD_TYPE release) # header-only
|
||||||
@ -12,7 +14,7 @@ vcpkg_cmake_configure(
|
|||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
)
|
)
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
vcpkg_cmake_config_fixup(PACKAGE_NAME Backward CONFIG_PATH lib/backward)
|
vcpkg_cmake_config_fixup(PACKAGE_NAME backward CONFIG_PATH lib/backward)
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "backward-cpp",
|
"name": "backward-cpp",
|
||||||
"version": "1.6",
|
"version": "1.6",
|
||||||
|
"port-version": 1,
|
||||||
"description": "A beautiful stack trace pretty printer for C++",
|
"description": "A beautiful stack trace pretty printer for C++",
|
||||||
"homepage": "https://github.com/bombela/backward-cpp",
|
"homepage": "https://github.com/bombela/backward-cpp",
|
||||||
"supports": "!uwp & !(windows & arm)",
|
"supports": "!uwp & !(windows & arm)",
|
||||||
|
@ -12,6 +12,8 @@ vcpkg_cmake_configure(
|
|||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DBUILD_TESTING=OFF
|
-DBUILD_TESTING=OFF
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
||||||
|
-DUSE_SYSTEM_BACKWARDCPP=ON
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "ignition-tools",
|
"name": "ignition-tools",
|
||||||
"version": "1.5.0",
|
"version": "1.5.0",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Gazebo tools provide the ign command line tool that accepts multiple subcommands.",
|
"description": "Gazebo tools provide the ign command line tool that accepts multiple subcommands.",
|
||||||
"homepage": "https://gazebosim.org",
|
"homepage": "https://gazebosim.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"supports": "!(arm & windows) & !uwp",
|
"supports": "!(arm & windows) & !uwp",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
"backward-cpp",
|
||||||
{
|
{
|
||||||
"name": "vcpkg-cmake",
|
"name": "vcpkg-cmake",
|
||||||
"host": true
|
"host": true
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "748c91a2ed90cad10b92d4c527dc855ec8f15db0",
|
||||||
|
"version": "1.6",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "9f204819a5063dea81b56369e5ce424219e56ca5",
|
"git-tree": "9f204819a5063dea81b56369e5ce424219e56ca5",
|
||||||
"version": "1.6",
|
"version": "1.6",
|
||||||
|
@ -470,7 +470,7 @@
|
|||||||
},
|
},
|
||||||
"backward-cpp": {
|
"backward-cpp": {
|
||||||
"baseline": "1.6",
|
"baseline": "1.6",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"basisu": {
|
"basisu": {
|
||||||
"baseline": "1.11",
|
"baseline": "1.11",
|
||||||
@ -3202,7 +3202,7 @@
|
|||||||
},
|
},
|
||||||
"ignition-tools": {
|
"ignition-tools": {
|
||||||
"baseline": "1.5.0",
|
"baseline": "1.5.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"ignition-transport4": {
|
"ignition-transport4": {
|
||||||
"baseline": "4.0.0",
|
"baseline": "4.0.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "b47d5830dfaf7b6f136f5b26002b50adb0804bde",
|
||||||
|
"version": "1.5.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "5567f256c2183bacba71d78d26362a1b76021bcf",
|
"git-tree": "5567f256c2183bacba71d78d26362a1b76021bcf",
|
||||||
"version": "1.5.0",
|
"version": "1.5.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user