add KB-H078 in conan-center to test that system libs are all lowercase if host OS is Windows#480
Conversation
…e if host OS is Windows
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
|
It could be moved to pre_export, as you are actually checking system_libs only. Early failure is better than needing to wait all build step first. |
It can't work, cpp_info.system_libs is not populated in conanfile object at pre_export time, so you would have to parse conanfile and understand branching and all the logic (with maybe lot of indirection). Moreover some recipes populate cpp_info.system_libs from a file created at package time (like abseil). |
Makes sense, parsing the file content is too much. |
|
Doing a quick search on master branch, some recipes need to be updated before merging this hook, or it will fail for any new PR: On the other hand, the hook could be changed to warning level. |
|
Number of recipes is reasonable. They can be fixed quickly. I've already submited a PR to fix baical-p7 & glu. |
|
I've submitted PRs for recipes you've listed. |
|
@uilianries @RubenRBS I think that now, the impact on existing CCI recipes is quite limited, most of them have been fixed. There is still qt & sentry-native, and I have a PR for each of them. I've also seen a strange recipe archicad-apidevkit with uppercase windows system libs (but also propagated if macOS, so weird). |
closes #479