On Sat, Nov 6, 2010 at 2:30 AM, Michael Hertling <mhertl...@online.de> wrote:
> If you want to ensure that an output-producing custom command without
> dependencies runs each time its output - present or not - is referred
> to you might use a second, say, dummy output which never exists, e.g.:
>
> ADD_CUSTOM_COMMAND(
>    OUTPUT <xyz build directory>/libxyz.so dummy
>    COMMAND make
>    WORKING_DIRECTORY <xyz build directory>
> )
>

Yes, this solution works, as also suggested by David.
_______________________________________________
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