CetCmdWrapper¶
Invoke an external command with optional completion timestamp and/or deletion of specified outputs on command error.
Synopsis¶
${CMAKE_COMMAND} -DCMD=<cmd> -DCMD_(ARGS|DONE_STAMP|DELETE_ON_FAILURE)=<val>...
-P<path-to-CetCmdWrapper.cmake>
Variables affecting Behavior¶
CMDThe command to be invoked.
CMD_ARGSA semicolon-separated list of arguments to be passed to the command.
CMD_DONE_STAMPA file to be touched in the event of a successful (zero exit status) execution of the command.
CMD_DELETE_ON_FAILUREThe specified semicolon-separated list of paths will be recursively deleted upon non-zero exit from the command.
Cetmodules