VS: add_custom_command "error:" output causes failure
I have a tool which runs successfully with exitcode 0, but emits among others the output "error :".
When used as custom_command the step fails because of that output
add_custom_command(COMMAND my_tool_producing_error_output.exe)
building that leads to:
error MSB8066: Custom build for '...' exited with code -1. [...]
Until now I was under the impression, that only the exit code is used to determine the success. Is this output parsing described somewhere? Can this be turned off?
Edited by Marc