[CMake] PDB generation
David Cole
dlrdave at aol.com
Wed May 21 12:45:17 EDT 2014
> However, if the target of your project IS a static library that you
> supply to customers for integration into their toosl, you NEED to
> supply the pdb otherwise they are stuck getting the “pdb not found”
> warning message.
Rather than having a separate pdb file, for debug static libraries, you
could just build the debugging info into the library itself with the
compiler's "/Z7" flag.
http://msdn.microsoft.com/en-us/library/958x11bc.aspx
I've been using it for static library debug builds of VTK and ITK to
link into my app, and it's been working really well for me.
(And I don't know the answer to your original question, ... hopefully
somebody else will chime in with something useful.)
HTH,
David C.
More information about the CMake
mailing list