Is there a way to read back what flags were added with add_definitions?

If I do

add_definitions(DFOO=bar -pedantic)

when I read the COMPILE_DEFINITIONS property of the directory all I have is
FOO=bar

How can I know the -pedantic option is being used for all targets in the directory?
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to