On Wednesday 04 March 2009, Iwan Aucamp wrote: > Hi > > Would it be possible to have CMAKE run a custom command with following > paramters if the build fails to compile:
In general cmake is not running when something is compiled. What do you want to do ? > > * 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. Did you have a look at ctest/cdash (http://www.cdash.org), I think it does what you want. You can set up a regular build, and if something fails, the one who committed something gets an email. Alex _______________________________________________ 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
