We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
self.dependencies[lib].cpp_info.resdirs
In test_package:
def generate(self): self.output.info(f"bindirs: {self.dependencies[<recipename>].cpp_info.bindirs}") self.output.info(f"includedirs: {self.dependencies[<recipename>].cpp_info.includedirs}") self.output.info(f"libdirs: {self.dependencies[<recipename>].cpp_info.libdirs}") self.output.info(f"resdirs: {self.dependencies[<recipename>].cpp_info.resdirs}")
run conan create
libjpeg/9e (test package): bindirs: ['C:\\Users\\spaceim\\.conan\\data\\libjpeg\\9e\\_\\_\\package\\e9a552ebe8f994398de9ceee972f0ad207df0658\\bin'] libjpeg/9e (test package): includedirs: ['C:\\Users\\spaceim\\.conan\\data\\libjpeg\\9e\\_\\_\\package\\e9a552ebe8f994398de9ceee972f0ad207df0658\\include'] libjpeg/9e (test package): libdirs: ['C:\\Users\\spaceim\\.conan\\data\\libjpeg\\9e\\_\\_\\package\\e9a552ebe8f994398de9ceee972f0ad207df0658\\lib'] libjpeg/9e (test package): resdirs: []
(In libjpeg recipe, there is a cmake_layout, and resdirs is not modified in package_info(), see conan-io/conan-center-index@30e4ab1)
package_info()
The text was updated successfully, but these errors were encountered:
Actually it seems that layout() set resdirs to empty
/cc @uilianries @SSE4 @prince-chrismc for documentation in CCI
Sorry, something went wrong.
Yes, it is true, layout() changes the defaults, as resdirs was not been used very much, we decided that the default should be empty.
layout()
resdirs
Moving this issue to docs.
Good to know, so we don't need to update it in recipes.
No branches or pull requests
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
In test_package:
run conan create
Logs (Executed commands with output) (Include/Attach if Applicable)
(In libjpeg recipe, there is a cmake_layout, and resdirs is not modified in
package_info()
, see conan-io/conan-center-index@30e4ab1)The text was updated successfully, but these errors were encountered: