-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Error in generator 'PremakeDeps': '_Component' object has no attribute 'aggregate_components' #13275
Comments
I think I see the issue in the source code. I'm also seeing that The changes would be realy simple. The problem ist that line: conan/conan/tools/premake/premakedeps.py Lines 57 to 58 in efff966
that should be: ret.merge(dep_cppinfo.aggregated_components()) The other changes are also quit simple and just involve adding something like build_type = str(self._conanfile.settings.build_type).lower() to the |
Hi @Ohjurot Thanks for your report. We could definitely use some expertise to move this forward succesfully, so thanks very much for the offer. If you want to contribute, I'd suggest the following:
It is completely fine to break if necessary, as it is not even documented, so feel free to fix things or improve it if it makes sense, even if it would be breaking. |
@memsharded Thank you for your information! I have created a PR (#13350). The code is already finished but might change again. I still need to fork "docs" and write the documentation (I hope I can do it tomorrow). Maybe you can already provide me some feedback on the code that I have written. This is my first PR to conan (and actually my first contribution to a python open-source project), so I would be happy to receive some feedback. |
Environment details
Steps to reproduce
PremakeDeps
.nlohmann_json/3.11.2
for the example log).conan install . --build missing --output-folder=./Vendor --deploy=full_deploy --settings=build_type=Debug/Release
.Logs
The text was updated successfully, but these errors were encountered: