The content of cpp_info.resdirs is not used
See original GitHub issueHi,
I’m trying to create a recipe for a library that installs some resource files (tabulated data required for later computation) in a specific folder. I’ve added this folder to the cpp_info
field using:
self.cpp_info.resdirs = ['share/mylib']
However, when I have a look at the conanbuildinfo.cmake
file generated during the test_package
command, I can’t find any cmake variable whose name would be related to resources, nor any variable that would contain 'share/mylib'
.
Browsing quickly through conan
’s source code, I couldn’t find much information about resdirs
and I fear it might be unused.
Am I searching in the wrong place / direction, or is it an issue inside conan
?
Thanks for providing us with your tool!
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Attributes — conan 1.3.3 documentation
When executing local conan commands (for a package not in the local cache, but in user folder), those fields would be pointing to...
Read more >Generating variable in conanbuildinfo.cmake with the path to ...
I am new to Conan and maybe this question is really simple but I'm struggling. My Conan binary package looks something like this:...
Read more >gitattributes Documentation - Git
patterns that match a directory do not recursively match paths inside that directory (so using the trailing-slash path/ syntax is pointless in an...
Read more >ReSpec Documentation
If that is not possible, you can use of the localBiblio configuration option to define your own references. 1.3.18 Extra links at top...
Read more >mjml-guides – Documentation for MJML - The Responsive ...
mj-html-attributes. This tag allows you to add custom attributes on any html tag of the generated html, using css selectors. It's not needed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! I will upgrade this week and let you know how it went.
No problem @lockyer, happy to help!