[osg-users] INSTALL include pdb's

James Killian James_Killian at hotmail.com
Thu Jul 10 20:45:13 PDT 2008

Thanks for response... I'll look into that... but first there is a bigger problem with osgviewer.  I'll have to double check, but by default the Applications osgviewer and osgViewer (dll) writing the same pdb file to the same place, and guess which one get overwritten (No windows does not allow case sensitive duplicate files)...  Yep the DLL one, the one I need to see in my call stack crash.  Grrrr 

I think the Application osgviewer project name should be renamed, or these .exe files build their pdbs to a different folder (preferably renamed).  Can someone verify this is a legitimate problem... thanks.

James Killian
  ----- Original Message ----- 
  From: Philip Lowman 
  To: OpenSceneGraph Users 
  Sent: Thursday, July 10, 2008 9:52 PM
  Subject: Re: [osg-users] INSTALL include pdb's

  On Thu, Jul 10, 2008 at 10:40 PM, James Killian <James_Killian at hotmail.com> wrote:

    Hmmm no one has responded... I can figure out where in cmake to make the change, if I add it would anyone have any objections?
    (If no one responds... I'll assume its fine to add)

  I believe you'll want to have a look at the INSTALL(FILES...) and/or ADD_CUSTOM_COMMAND(TARGET foo POST_BUILD COMMAND) commands as possibilities.  If you end up needing ADD_CUSTOM_COMMAND consider using "cmake -E copy_if_different" instead of "copy".  I'm out of town and don't have access to a VS development environment otherwise I think I could come up with something for you.

  This may also not be a bad feature to add to CMake itself if simply deploying the PDB files alongside the debug DLL file buys you this functionality.

  Philip Lowman 


  osg-users mailing list
  osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080710/8f2ded6a/attachment-0003.htm>

More information about the osg-users mailing list