Hi,

Can anyone help me with this? I haven't found a proper solution myself yet..

2011/12/8 Alexander Broekhuis <a.broekh...@gmail.com>

> Hi all,
>
> In my project, some top level targets depend on simple text files. These
> targets produce a zip file as output, this is done using a custom command
> with a post-build to a library target.
> Part of the zip file are some simple text files, which are included using
> some custom CPack handling inside the custom command.
>
> How can I let the top level target depend on these text files as well? In
> other words, if a text files changes, the zip file has to be regenerated.
> These text files are not generated or copied etc. So a simple DEPENDS would
> suffice. I know add_custom_command(OUTPUT has support for this, but am
> wondering how to do this with add_custom_command(TARGET.
>
> TiA!
>
> --
> Met vriendelijke groet,
>
> Alexander Broekhuis
>



-- 
Met vriendelijke groet,

Alexander Broekhuis
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to