[CMake] CodeBlocks Generator misses custom targets

Alexander Neundorf a.neundorf-work at gmx.net
Wed Aug 5 16:57:40 EDT 2009


On Thursday 30 July 2009, David Cole wrote:
> That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this has
> moved to line 390, but the same code is still there...
>
> Looks like that whole else chunk should be removed. Unless somebody can say
> why it's there...?

In order to keep some targets from appearing in the target list of C::B (like 
e.g. /Experimental.+/). Apparently it also filters out custom targets, which 
was not intended.
If the else-branch is removed, then actually the whole if-else tree can be 
removed.
Is there a way to check whether such a target is a custom target ?

Alex


More information about the CMake mailing list