-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tiny Changes for Fast-DDS + Add version 2.3.3 #6429
Conversation
patches: | ||
"2.3.2": | ||
- base_path: "source_subfolder" | ||
patch_file: "patches/2.3.2-0001-fix-find-asio-and-tinyxml2.patch" | ||
"2.3.3": | ||
- base_path: "source_subfolder" |
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.
not sure what is here official process - 2.3.3 dont need patch - so i just gave the base_path but not the patch_file
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.
Ha, didn't know that works. Nice hack.
Anyway, the normal/official way is to don't add the version in patches and do the following in conanfile.py
.
for patch in self.conan_data.get("patches", {}).get(self.version, []):
tools.patch(**patch)
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.
thanks for info - but i found out i have to patch again - i was missing my checks inside container .... so it took tinyxml from system .... so still have to add patch. ^^'
This comment has been minimized.
This comment has been minimized.
my fault - i should have checked them in container ... tinyxml is on my system -.- |
This comment has been minimized.
This comment has been minimized.
self.env_info.PATH.append(bin_path) | ||
# component tools | ||
self.cpp_info.components["tools"].name = "tools" | ||
self.cpp_info.components["tools"].names["cmake_find_package"] = "tools" |
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.
The name here is a little generic... maybe?
self.cpp_info.components["tools"].names["cmake_find_package"] = "tools" | |
self.cpp_info.components["fast-dds-tools"].names["cmake_find_package"] = "tools" |
Specify library name and version: fast-dds/2.3.2 + fast-dds/2.3.3
related to the issue Improvements in meta information - Fast-DDS/2.3.2 #6137
--> removed name and used names["cmake_find_package"] to make clear its for cmake
--> changed targetname to dds-discovery-server
add version 2.3.3
I've read the guidelines for contributing.
I've followed the PEP8 style guides for Python code in the recipes.
I've used the latest Conan client version.
I've tried at least one configuration locally with the
conan-center hook activated.