I am using ADD_CUSTOM_COMMAND to produce an output.

Unfortunately, if the commands in it fail, the OUTPUT.  Hence the OUTPUT
is up to date, even though it is invalid.  Is there a way to tell
ADD_CUSTOM_COMMAND to remove its output when it fails?

Thanks,

Juan


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to