conan-io / docs

conan.io reStructuredText documentation
http://docs.conan.io
MIT License
110 stars 360 forks source link

Documentation on per-library info in package_info is missing #806

Open sigiesec opened 6 years ago

sigiesec commented 6 years ago

https://docs.conan.io/en/latest/reference/conanfile/methods.html#package-info does not explain how per-libary information is set.

There is some unconsolidated information on this in https://github.com/conan-io/conan/issues/1323 but it is unclear what is actually implemented in conan

sigiesec commented 6 years ago

In particular, it should be documented how the dependencies of each library are specified.

sigiesec commented 6 years ago

There is also some brief example at the very end of https://docs.conan.io/en/latest/creating_packages/package_approaches.html#n-configs-1-package, but this is quite vague. Which CONAN_LIB targets result from the example?

danimtb commented 5 years ago

Hi @sigiesec

I am trying to understand what you are requesting here and my guess is that the "extensible" property of self.cpp_info is not well documented. Basically what it is proposed here: https://github.com/conan-io/conan/issues/1323#issuecomment-348820161

I think we can improve the reference and maybe add a how to on including custom parameters or multiconfig things, but not sure yet.

Have I understood the issue well? Thanks