Is there some way to suppress the output of a sub-routine? Currently, the 
output of my configuration is cluttered with output from many calls to macros 
and functions, and I would like to tidy up the output a bit.  There are some 
macros that offer a QUIET option, but not all macros do this.

As an example, I have a macro checking that the compiler options that are 
passed to the configuration work with the compiler. For this I use the macro 
check_c_compiler_flag, but for each flag it check, it prints two lines of 
output. I would like to suppress this output and replace it with my own.

Can I do this?


Best, 
Magnus Grandin,
Doctoral Student,
Uppsala University, Sweden



--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to