[CMake] add_definitions verus set_source_files_properties

Benjamin Peterson benjamin at python.org
Wed Jun 1 11:51:08 EDT 2011


Is it improper to use add_definitions to set compile flags instead of
set_source_files_properties and the COMPILE_FLAGS property? The reason I ask is
that I prefer the recursive behavior of add_definitions, but
set_source_files_properties appears to be more modern.



More information about the CMake mailing list