Tyler Roscoe wrote:

> I don't know of a single place to gather all the flags CMake will pass
> to your compiler.

I've chceked those variables, but they provide not
a very useful part of the command line, for example
CMAKE_CXX_FLAGS_RELEASE gives me only
-O3 -DNDEBUG.

> get_target_properties() might also be of use.

It is a very promising direction indeed, however
after some hacking all I have from GET_TARGET_PROPERTY(_x ... COMPILE_FLAGS)
is NOTFOUND :-/

But thank you Tyler for pointing me out the function. :-)

Best regards
Piotr Wyderski
_______________________________________________
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