Skip to content
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

Embed debug information in windows static .lib file #1054

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

kristjanvalur
Copy link
Contributor

Embed debug information in windows static lib, rather than create a pdb fileþ

Using .pdb files with .lib files on windows is very inconvenient, particularly if the .lib
file is then linked as part of a different .dll. Chances are that the original .pdb
will not be picked up or distributed along with the tooling.

…pdb file

Using .pdb files with .lib files on windows is very inconvenient, particularly if the .lib
file is then linked as part of a different .dll.  Chances are that the original .pdb
will not be picked up or distributed along with the tooling.
@michael-grunder
Copy link
Collaborator

Merged, thanks!

@kristjanvalur kristjanvalur deleted the pr08 branch June 27, 2022 09:04
bjosv added a commit to Nordix/hiredis that referenced this pull request Sep 15, 2022
From ff57c18 (redis#1054) the debug information was embedded in the
windows static lib rather than creating a .pdb file.
Removing the installation step of this file in CMake.
bjosv added a commit to Nordix/hiredis that referenced this pull request Sep 15, 2022
From ff57c18 (redis#1054) the debug information was embedded in the
windows static lib rather than creating a .pdb file.
Removing the installation step of this file in CMake when building
with buildtype Debug or RelWithDebInfo.
bjosv added a commit to Nordix/hiredis that referenced this pull request Sep 15, 2022
See ff57c18 (redis#1054) for same change in library hiredis_static.
@bjosv bjosv mentioned this pull request Sep 15, 2022
michael-grunder pushed a commit that referenced this pull request Sep 27, 2022
* Remove attempt to install .pdb file for windows static lib

From ff57c18 (#1054) the debug information was embedded in the
windows static lib rather than creating a .pdb file.
Removing the installation step of this file in CMake when building
with buildtype Debug or RelWithDebInfo.

* Embed debug information in windows hiredis_ssl_static lib

See ff57c18 (#1054) for same change in library hiredis_static.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants