I have a macro currently that runs an
add_custom_command to compile f2py code in a model of mine. In order to keep the
make install step output “clean”, I run this command with
>& /dev/null because f2py is noisy. Very noisy.
But, I wondered, is there a way in a CMake macro like this to detect if someone is doing
make install VERBOSE=1? Because it would be nice to pipe the output to
/dev/null only during “normal” builds, but actually see this output in