cmake -DCMAKE_BUILD_TYPE=Debug<br><br>Alternatively set it in the cache editor with ccmake or cmake-gui.<br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 6:07 PM, Jan Neumann <span dir="ltr"><<a href="mailto:jankneumann@gmail.com">jankneumann@gmail.com</a>></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;">Hi,<br><br>I have been using cmake for years on the windows platform with great success, but now I need to do cross-platform development including linux and ran into the problem that I cannot figure out how to select a build configuration that embeds debugging symbols in my libraries and executables.<br>
<br>I am generating project files for Eclipse or KDevelop (the current versions on Fedora 10) using the newest Cmake 2.6.3 and everything compiles fine. But any target that I choose for building does not generate debugging symbols. Do i need to configure something during the cmake generation process (I am currently using nearly identical build commands for windows and linux) to be able to generate targets that build executables with debug information or is there a more global switch in the IDE that I need to find to make the debug builds visible?<br>
<br>Thanks for any advice,<br><font color="#888888"><br>Jan<br>
</font><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>