This is similar to add_definitions, but supports generator expressions. It also has an optional argument to add only to Debug or Release configurations.