You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.txtthis section of the docs could be useful to understand how to transition to a conanfile.py that is more powerful and configurable.
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.
The text was updated successfully, but these errors were encountered: