Yes, the CodeBlocks generator in CMake is just an extension of the makefile one (note that it's named "Code::Blocks - Unix Makefiles") so the same thing applies: set CMAKE_BUILD_TYPE as desired. In general, when using a CMake-generated project file, if you need to change a project setting, do it in CMake rather than your IDE, since the CMake settings are the master ones used to generate the IDE data.<br>
<br>Ryan<br><br><div class="gmail_quote">On Sun, Apr 4, 2010 at 5:38 AM, AKHRES Nader <span dir="ltr"><<a href="mailto:nader.akhres@laposte.net">nader.akhres@laposte.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I still have issue to compil with debug info in codeblocks project (generated by cmake).<br>
When I set the "-g" options in codeblocks gui, it seems to have no effect (but I manage to get it somehow by cleaning/rebuilding but can't reproduce).<br>
<br>
If I've understood (could someone confirm that?), with make generated by cmake, I have to generate one project for debug (with CMAKE_BUILD_TYPE set to Debug) and one for release?<br>
Is it the same for codeblocks?<br>
<br>
Nad<br>
<br>
ps: issue is the same with both windows and linux and even with minimal project<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>Ryan Pavlik<br>HCI Graduate Student<br>Virtual Reality Applications Center<br>Iowa State University<br><br><a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a><br>
<a href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a><br>Internal VRAC/HCI Site: <a href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a><br>