question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The content of cpp_info.resdirs is not used

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sansuisocommented, Feb 28, 2017

Thanks! I will upgrade this week and let you know how it went.

0reactions
memshardedcommented, Feb 21, 2020

No problem @lockyer, happy to help!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found