robotology/yarp — pull request #18 by drdanz (2013-05-04 15:08:01+00:00)
Title: Add macro to print cmake deprecated warnings only when YARP_NO_DEPRECATE...

...D_WARNINGS is FALSE)

This saves repeating the check for every deprecated feature.
Also by using this it will be a lot easier to locate deprecated stuff when we will want to remove them.