-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix bugs in igntion-tools recipe #11309
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@uilianries in the error, it seems that |
use `CONFIG` : find_package(pkg-name CONFIG)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
override default conan behavior specifying `package_folder/include` dir
@prince-chrismc can you please review once again ? |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit ae68bd3ignition-tools/1.4.0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the goal of the PR is to fix the generators.
I would be nice to have https://github.com/gazebosim/gz-tools/blob/20bcaf96bed27850b256fe3ac95c0aa1640143fe/CMakeLists.txt#L190
self.cpp_info.names["cmake_find_package"] = lib_name | ||
self.cpp_info.names["cmake_find_package_multi"] = lib_name | ||
self.cpp_info.set_property("cmake_file_name", "ignition-tools") | ||
self.cpp_info.components["backward"].names["cmake_find_package"] = "backward" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure whats the best option here but the targets are not correctly exporting from the upstream project... Does this match the projects intentions? I am not sure I can answer that...
https://cmake.org/cmake/help/latest/guide/importing-exporting/index.html#exporting-targets calls out install(EXPORT...)
and install(TARGETS ...)
neither exist 😕
https://github.com/gazebosim/gz-tools/blob/ignition-tools_1.4.0/src/CMakeLists.txt#L29 main gets closer but it's still not doing something consumers would rely on AFAIK.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 3b54cdeignition-tools/1.4.0
|
All green in build 31 (
|
Hooks produced the following warnings for commit 1ff89f4ignition-tools/1.4.0
|
@prince-chrismc does this mean I should install the package config file
So I'm not sure if installing this is really useful. What do you think ? |
any update on my queries ? |
The whole purpose of Conan is to generate those |
url: "https://github.com/ignitionrobotics/ign-tools/archive/refs/tags/ignition-tools_1.4.0.tar.gz" | ||
sha256: "fa3f7984ebb8f412133ea93368395adce426ae36c715a9f94f9509af7dac3b03" | ||
url: "https://github.com/gazebosim/gz-tools/archive/refs/tags/ignition-tools_1.4.0.tar.gz" | ||
sha256: "8ceebefcd1977dc2e26beede347a9c06d851b89ec0fd7d5c86126f43a49ac178" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcar87 We have another check sum change for you to label 👏
You can set the properties
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Specify library name and version: ignition-tools/1.4.0*
Description
The current recipe had several issues
Findignition-tools1.cmake
(:x:) generation instead ofFindignition-tools.cmake
(:heavy_check_mark: ) generationignition-tools1
(:x:) instead ofignition-tools
(:heavy_check_mark: )core
library component nameThis PR fixes the issues