On Wed, Mar 04, 2009 at 11:10:42PM +0200, Iwan Aucamp wrote: > Would it be possible to have CMAKE run a custom command with following > paramters if the build fails to compile: > > * source file > * line number > > So that the above can be used by a script to determine change set and > commiter and then send an email to the commiter to notify him of the > failure.
I don't think this is possible since CMake isn't running by the time your build fails to compile -- your build tool (make, VS, ...) is. I think you would need to write a script to parse the output from your build tool to accomplish what you want. hth, tyler _______________________________________________ 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
