<div dir="ltr">I've defined a custom language for my project which is simply a wrapper around GCC. The "compiler" for this language is a CMake script which invokes g++ followed by objcopy. I would like to use CMake's standard verbosity system - either VERBOSE=1 for Unix Makefiles or -v or Ninja (maybe there are others too?) but I don't know how. I was previously doing something like <br><br>```<br>if (ENV{VERBOSE})<br>  message("g++ ${SOURCE}")<br>endif ()<br>execute_process(COMMAND g++ ${SOURCE})<br><div>```</div><div><br></div><div>but Ninja doesn't set an environment variable. Is it possible do this?</div><div><br></div><div>Thank you,</div><div>David Zemon</div></div>