On Sunday 22 February 2009, Sergey Popov wrote:
> На Sun, 22 Feb 2009 19:57:29 +0100
>
> Alexander Neundorf <[email protected]> wrote:
> > There shouldn't be "useless" targets. Which ones do you consider useless
> > ?
> >
> > > none of which are Debug or Release,
> >
> > It is still based on Makefiles, and the makefiles are one-configuration
> > only. To get release and debug builds, you have to create to build trees,
> > one for release and one for debug mode.
>
> I'd like to be able to switch between debug and release using the Target
> combo box. 

As I said, the C::B projects generated by cmake are currently makefile-based. 
If somebody (not me) finds the time to implement (and maintain) a "native" 
C::B project generator, this may be possible.

> I don't care about "package", "install" and I'd like to see

That you don't care about "package" and "install" doesn't mean these are 
useless targets.

> "game", "wesnothd" etc implemented as subprojects.

I didn't actually try to load wesnoth with cmake-generated C::B project files, 
so I can just say:
for every PROJECT()-call, there will be a cbp-file generated. 
If you have multiple PROJECT() calls, you will get multiple cbp-files.
The handling of projects and workspaces (or how it is called in C::B) can of 
course be modified. Patches are welcome.

> > > and Abort compilation fails too.
> >
> > Hmm, no idea why. Actually I'm also not sure how this can be related to
> > the project files generated by cmake. It would be nice if you could find
> > out.
>
> Works fine with CodeBlocks-SCons projectfile, while with cmake "Abort" just
> terminates current compilation and moves on to compile next file.

Hmm, C::B executes make, and abort should terminate this make. cmake is not 
involved at this point. 

> Honestly, I'm not going to use cmake for any other purpose than finding
> silly bugs in it since I consider it being Yet Another Makefile Generator

Thanks for your contructive attitude.
What is wrong with using a DSL for a very specific purpose ?

Beside that, the C::B project generator can very well still have issue. I 
implemented it summer 2007 and didn't get a lot of feedback for it. So I am 
happy about any feedback, please report problems in the bug tracker.

Alex

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to