2010/9/10 Michael Wild <them...@gmail.com>:
> set(SRCS a.c b.c d.c e.c)
>
> add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/f.c
>  COMMAND ...
>  DEPENDS ${SRCS}
>  COMMENT "Generating f.c"
>  VERBATIM)

Does this also create dependencies on the multitude of header files
included by the .c files in SRCS (which would probably be desired in
case of the OP)?

Ingolf
_______________________________________________
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