Open scottw-finao opened 1 week ago
Hi @scottw-finao,
Thanks a lot for your question. The plugin works by using a conandata.yml
that stores the requirements that are added with the GUI and a conanfile.py that reads that conandata.yml
and sets the generators and layout. If you need some specific changes in those files, you can just remove the guard comments in the beginning of the file, so that the plugin knows that those can't be overwritten and add the content you need there. Be aware that if you modify the conandata.yml
the plugin will not add requirements through the GUI any more.
If you are using a conanfile.txt
this section of the docs could be useful to understand how to transition to a conanfile.py that is more powerful and configurable.
Hope this helps.
I'm not very proficient with C++ so I'm not sure if there's already some way of doing this. But some of the code I was working with recommended adding 'generator' configurations in the conan txt file. I see this plugin seems to be using a yaml file instead so i tried adding generators in there after the requirements and it seemed to work. The only problem is, if I try to add a new library with the plugin, it tries to auto re-generate the yml file and either mangles or completely removes the generators.