[CMake] How to query compiler definitions?

SF Markus Elfring elfring at users.sourceforge.net
Thu Jan 20 07:30:05 EST 2011


> get_directory_property(info COMPILE_DEFINITIONS)

How do you think about an extension for this programming interface?

Would you like to support that target parameters like preprocessor symbols are 
queried from the build environment even if they were not set by the CMake 
command "add_definitions" explicitly?

Regards,
Markus


More information about the CMake mailing list