[CMake] Build failure alerts
Tyler Roscoe
tyler at cryptio.net
Thu Mar 5 13:10:29 EST 2009
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
More information about the CMake
mailing list