-
Notifications
You must be signed in to change notification settings - Fork 365
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
tools.collect_libs now use self.cpp_info.libdirs #843
Conversation
reference/tools.rst
Outdated
self.cpp_info.libs = tools.collect_libs(self) | ||
|
||
For UNIX libraries staring with **lib**, like *libmath.a*, this tool will collect the library name **math**. | ||
|
||
**Parameters:** | ||
- **conanfile** (Required): A `ConanFile` object from which to get the `package_folder`. | ||
- **folder** (Optional, Defaulted to ``"lib"``): The subfolder where the library files are. | ||
- **conanfile** (Required): A `ConanFile` object to get the `package_folder` and ``cpp_info``. |
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.
ConanFile
and package_folder
should go with double quotes, shouldn't they?
This PR is the documentation for this one (conan-io/conan#3503), right? |
Yes, it is linked in the issue indicated in the description. |
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.
Changelog?
Change-log not needed anymore. And code PR was already merged. |
closes #836