8d5334 CMake: Conditionally add warnings when supported (#598)

2 files Authored by Campbell Barton 8 years ago , Committed by Shinya Kitaoka 8 years ago ,
    CMake: Conditionally add warnings when supported (#598)
    
    This adds utility functions to conditionally add compiler flags,

    

    allowing warnings from newer compiler versions to be used without

    causing a lot of noise for users of older compilers.
        
file modified
+18 -0