[Cmake] Adding generated files to "clean" target ?

Andy Cedilnik andy . cedilnik at kitware . com
31 Oct 2003 12:47:01 -0500


Hi Jean,

There is a feature request in the bug tracker, but I do not think it
will happen before 2.0.

			Andy

On Fri, 2003-10-31 at 12:09, Jean-Francois LECOMTE wrote:
> Hi,
> 
> I've written a plugin which can now automatically generate *.c files
> from specific interface definition files (*.xwi ) files and use them in
> any EXECUTABLE or LIBRARY.
> 
> I found no way to add this generated files in the clean target. 
> I've seen GENERATED_QT_FILES are hardcoded in OutputMakeRule for clean
> target in cmake code.
> 
> Is there any way to add my own generated file to the clean target using
> the CAPI.
> 
> I can add a POSTBUILD command for my own target, but in this way
> generated files are always removed.
> 
> Thanks.
> 
> 
> 
> 
> 
> _______________________________________________
> Cmake mailing list
> Cmake at www . cmake . org
> http://www . cmake . org/mailman/listinfo/cmake