[CMake] CodeBlocks generator issues
Félix C. Morency
felix.morency at gmail.com
Mon Mar 3 11:20:40 EST 2008
You seem to be right. Changing the build target to the name of my project
did the trick. I can now run and debug the program successfully.
Félix C. Morency
On 3/2/08, Philip Lowman <philip at yhbt.com> wrote:
> On Sun, Mar 2, 2008 at 7:06 PM, Félix C. Morency <felix.morency at gmail.com>
> > Hi,
> > 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.
> > 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...".
> > 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.0version ?
> 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?
> Be sure to file a bug on this issue in the CMake bug database if you're
> still having problems.
> Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CMake