On Sun, Mar 2, 2008 at 7:06 PM, Félix C. Morency <<a href="mailto:felix.morency@gmail.com">felix.morency@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Hi,<br><br>I just discovered that CMake SVN (future 2.6.0) currently supports CodeBlocks project generation. I gave it a try and the result seems promising. I've been able to successfully compile my project under CodeBlocks 8.02.<br>
<br>However, running the program (which is a command line program) from CodeBlocks with the "Run" command doesn't work. The error is: "You can't run a commands-only target...". Another issue is the debugging tool which doesn't start with this error: "The selected target is only running pre/post build step commands. Can't debug such a target...".<br>
<br>I guess those issues come from CMake since all those features work with what I call a "pure CodeBlocks project". Are those issues already known and if yes, are you planning on fixing them with the release of the 2.6.0 version ?</p>
</blockquote><div>Félix,<br><br>I don't know anything about CodeBlocks but I do know with the Visual Studio generator the default project is ALL_BUILD which you can't debug. In order to Debug with Visual Studio you have to right click on the desired target and choose Debug (or change your default project). Maybe there's a similar issue with CodeBlocks?<br>
<br>Be sure to file a bug on this issue in the CMake bug database if you're still having problems.<br><br><a href="http://www.cmake.org/Bug/main_page.php">http://www.cmake.org/Bug/main_page.php</a><br></div></div><br>
-- <br>Philip Lowman