Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Provide a way to attach pdb to static libraries #110

Open
Thieum opened this issue Jun 25, 2015 · 2 comments
Open

Provide a way to attach pdb to static libraries #110

Thieum opened this issue Jun 25, 2015 · 2 comments

Comments

@Thieum
Copy link

Thieum commented Jun 25, 2015

Pdb for static libraries are different than those to provide with dynamic libraries. In the latest dev version, the pdb set in the symbols is copied with the dll.

Please add a lib-symbols label in the autopkg that allows to provide a pdb for static libraries.

This pdb should be copied next to the lib in the resulting package.

@zabulus
Copy link

zabulus commented Jul 30, 2015

You can build .lib files with symbols embedded.
Set /Z7 compatible flag in C/C++ -> General -> Debug Information Format field

@Thieum
Copy link
Author

Thieum commented Aug 20, 2015

Another workaround is to copy the pdb at the right place in the nupkg after its creation with autopkg. This way it won't corrupt the msbuild addons. They will only be unzipped at the right place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants