Better support for custom commands that generate multiple files needed.

Alexander Neundorf neundorf at kde.org
Thu Apr 6 23:08:32 CEST 2006


On Wednesday 05 April 2006 23:00, you 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?

If a file is listed in the sources, 
1) cmake looks whether it exists
2) if not, it checks whether there is a custom command which generates this 
file

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list