[CMake] Custom-Targets with unknown outputs
Christoph Cullmann
cullmann at absint.com
Thu May 15 03:22:55 EDT 2008
Am Donnerstag, 15. Mai 2008 09:16:56 schrieb Martin Apel:
> That's what I did for a similar problem: I modified the generator to
> output a list of generated files, when called with a special command
> line switch.
> In this case the generator only generates the file list, not the files
> themselves. I ran this via EXECUTE_PROCESS at configuration time, so you
> have
> the names of the generated files in a variable.
> Of course this only works if you are able to modify the generator.
But then you must reconfigure on each change of the input files for the
generator, which is not that nice imho and atm with handcrafted makefiles not
needed, as the generator call will depend on it's input files.
--
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH Email: cullmann at AbsInt.com
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
More information about the CMake
mailing list