-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add all the lzham lib files for msvc builds. #23907
Conversation
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit adad64elzham/cci.20220103@#da0c965c672d6f2c30f5a360aa36bb8d
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 31992f1lzham/cci.20220103@#c7d19375dcd3ff26dc1ca002c28953da
|
Hi @soroosh-sdi , thank you for opening this PR and for the detailed description of the bug in #23647. Upon reading the reported issue, this was telling:
a static build of lzham should not result in missing DLLs from it. Looking further into this, it appears that on windows when on the other hand, and by no means a blocker - with the proposed changes there would be 5 consecutive |
Hi @soroosh-sdi - I've pushed changes to your branch to fix the handling of static/shared on Windows. The Visual Studio solution was building both the shared and static variants, all were being copied, and the package_info was always pointing to link to the shared library, which was causing your issues. I've amended the recipe such that when Additionally:
tested all the following variants on windows with msvc:
please note that you would have to include |
Hi @jcar87 |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 9ca33a0lzham/cci.20220103@#5fedf5d4b3ac6838c03438336f6fe973
|
Conan v1 pipeline ✔️All green in build 5 (
Conan v2 pipeline ✔️
All green in build 5 (
|
Specify library name and version: lzham/cci.20220103
Adding all lzham library static libs to the
cpp_info.libs
I describe the issue I found in the bug #23647.