Support generator expresssions in add_definitions()
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Generator expressions are supported in add_compile_options(), target_compile_options() and target_compile_definitions(), but not in add_definitions() which leads to some inconsistency. I would make use of generator expressions in definitions on a global level, mostly define some symbols based on CMake's variables setup.
Please add support for generator expressions in add_definitions().