<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 21, 2014 at 12:21 PM, Scott Aron Bloom <span dir="ltr"><<a href="mailto:scott.bloom@onshorecs.com" target="_blank">scott.bloom@onshorecs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">At some point in the 2.8 lifecycle, the choice was made to no longer copy the .pdb files on windows builds with the .lib that is generated.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I found a note somewhere, that there was “good” reasoning for it.. And in general, I agree, for many applications you don’t need the pdb files for static libraries.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.</p>
</div></div></blockquote><div><br></div><div>FWLIW, here's how I handle it:</div><div><br></div><div>a) Provide INSTALL_PDB option for my project which defaults to ON for Windows </div><div><br></div><div>b) track which pdb files might be available by updating install_bin_pdb and install_modules_pdb with targets that need to be copied</div>
<div><br></div><div>e.g., for some executable target named by the pgm variable:</div><div><br></div><div>SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/${pgm}.pdb)<br></div><div><br></div><div>c) with my other install logic</div>
<div><br></div><div><div>IF(INSTALL_PDB)</div><div> INSTALL(FILES ${install_bin_pdb}</div><div> DESTINATION bin</div><div> CONFIGURATIONS RelWithDebInfo Debug)</div><div><br></div><div> INSTALL(FILES ${install_modules_pdb}</div>
<div> DESTINATION modules</div><div> CONFIGURATIONS RelWithDebInfo Debug)</div><div>ENDIF()</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any hope chance of bringing this back?<span class=""><font color="#888888"><br>
<br>
Scott<u></u><u></u></font></span></p>
</div>
</div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Born in Roswell... married an alien...<br>
<a href="http://emptyhammock.com/" target="_blank">http://emptyhammock.com/</a><br><div><a href="http://edjective.org/" target="_blank">http://edjective.org/</a></div><div><br></div></div>
</div></div>