If you&#39;re using CMAKE_BUILD_TYPE=Debug the debugging symbols should all be there.<br><br>cmake -DCMAKE_BUILD_TYPE=Debug ..<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 10:58 PM, Tron Thomas <span dir="ltr">&lt;<a href="mailto:tron.thomas@verizon.net">tron.thomas@verizon.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am trying to use CMake to configure a cross platform project I&#39;m developing.  On platforms that have IDE&#39;s such as Mac OS X and Windows, the configuration work fine in that programs can be built with debug information for development purposes.  On Linux, I am just using Makefiles and no specific IDE.  I find that when I configure the project, the built executable do not contain debug information unless I go into each target and add special case code to enable debug symbols for the Linux platform.<br>

<br>
How can I avoid having to specify debug information for each individual target when building with Makefiles?<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><br clear="all"><br>-- <br>Philip Lowman<br>