Hi Julian.<br><br>CMake 2.8.10 introduced target properties PDB_NAME[_&lt;CONFIG&gt;] and PDB_OUTPUT_DIRECTORY[_&lt;CONFIG&gt;] which you can use to control location of .pdb files. You can also set variable CMAKE_PDB_OUTPUT_DIRECTORY to pre-initialise the directory settings.<br>
<br>Petr<br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 1:57 PM, Julian Amann <span dir="ltr">&lt;<a href="mailto:vertexwahn@gmx.de" target="_blank">vertexwahn@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:&#39;Calibri&#39;">
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">In the past i used</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"></span> </p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ../Debug)</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"></span> </p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">to place all my *.exe, *.dll, *.lib and *.pdb files in the ../Debug 
directory – but with the CMake 2.8.10.1 this seems not to work</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"></span> </p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">all my *.exe, *.dll, *.lib are placed in the ../Debug directory 
</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">but the *.pdb files are not stored there </span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"></span> </p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US">How can I influence where the *.pdb files are stored</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"></span> </p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span>Best 
regards,</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span>Julian</span></p>
<div> </div></div></div></div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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>
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>
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>