Hi all, I have defined a custom command with add_custom_command(), and the command inside may fail. Is there a way to retrieve the error status of such a failing command, like with RESULT_VARIABLE in execute_process()? Best regards, Marcel Loose.