On Sun, Mar 2, 2008 at 7:06 PM, Félix C. Morency &lt;<a href="mailto:felix.morency@gmail.com">felix.morency@gmail.com</a>&gt; 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&#39;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 &quot;Run&quot; command doesn&#39;t work. The error is: &quot;You can&#39;t run a commands-only target...&quot;. Another issue is the debugging tool which doesn&#39;t start with this error: &quot;The selected target is only running pre/post build step commands. Can&#39;t debug such a target...&quot;.<br>

<br>I guess those issues come from CMake since all those features work with what I call a &quot;pure CodeBlocks project&quot;. 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&#39;t know anything about CodeBlocks but I do know with the Visual Studio generator the default project is ALL_BUILD which you can&#39;t debug.&nbsp; In order to Debug with Visual Studio you have to right click on the desired target and choose Debug (or change your default project).&nbsp; Maybe there&#39;s a similar issue with CodeBlocks?<br>
<br>Be sure to file a bug on this issue in the CMake bug database if you&#39;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