Better support for custom commands that generate multiple files needed.

William A. Hoffman billlist at nycap.rr.com
Thu Apr 6 22:34:36 CEST 2006


At 05:00 PM 4/5/2006, David Faure wrote:
>On Wednesday 05 April 2006 22:36, Alexander Neundorf wrote:
>> Does adding ${CMAKE_CURRENT_BINARY_DIR}/addressee.h to the list of source 
>> files help ?
>
>It doesn't, and I would have been very surprised if it did - how could adding a
>non-existing generated file as dependency work at all?
>
>make[2]: *** No rule to make target `kabc/addressee.h', needed by `kabc/addressee.cpp'.  Stop.

Right now the way to do this, would be to create duplicate custom commands,
one for each output.   We will look into adding multiple outputs to the custom commands.

-Bill



More information about the Kde-buildsystem mailing list