On 3/5/2012 4:03 PM, Alexander Neundorf wrote:
Is there a chance that something like
message(VARIABLES var1 var2 ... varN)
which would print the name followed by the value of the given variables
("FOO_LIBRARY=/usr/lib/libfoo.so HAVE_BAR=1 ...")
would be also accepted ?
I need that all the time, and it's somewhat related to the patch here.
I'd rather not have too many magic modes of message(). Perhaps this
thread should instead propose a "cmake_debug" command which can have
all kinds of subcommands for specific use cases like this:
cmake_debug(MESSAGE ...)
cmake_debug(VARIABLES ...)
-Brad
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers