[CMake] Obtaining info about the compiler command arguments

Óscar Fuentes ofv at wanadoo.es
Thu Aug 12 09:59:54 EDT 2010


Óscar Fuentes <ofv at wanadoo.es> writes:

> How to know the compiler arguments set by include_directories,
> add_definitions, etc?
>
> CMAKE_<LANG>_FLAGS (with and whitout the uppercase build_type suffix)
> doesn't contain anything that was set by the cmake commands mentioned
> above.

I guess that the lack of response indicates that there is no way to do
that. Why so basic feature is missing? Something with the internals of
cmake that makes it hard to implement?



More information about the CMake mailing list