svn merge ^/trunk/blender -r41226:41227 .
[blender.git] / build_files / cmake / macros.cmake
index bf90ef8..d8db688 100644 (file)
@@ -16,7 +16,7 @@ macro(file_suffix
        unset(_file_name_EXT)
 endmacro()
 
-# useful for adding debug suffix to library lists:
+# usefil for adding debug suffix to library lists:
 # /somepath/foo.lib --> /somepath/foo_d.lib
 macro(file_list_suffix
        fp_list_new fp_list fn_suffix
@@ -412,32 +412,6 @@ macro(remove_strict_flags)
 
 endmacro()
 
-# note, we can only append flags on a single file so we need to negate the options.
-# at the moment we cant shut up ffmpeg deprecations, so use this, but will
-# probably add more removals here.
-macro(remove_strict_flags_file
-       filenames)
-
-       foreach(_SOURCE ${ARGV})
-
-               if(CMAKE_COMPILER_IS_GNUCC)
-                       set_source_files_properties(${_SOURCE}
-                               PROPERTIES
-                                       COMPILE_FLAGS "-Wno-deprecated-declarations"
-                       )
-               endif()
-
-               if(MSVC)
-                       # TODO
-               endif()
-
-       endforeach()    
-
-       unset(_SOURCE)
-
-endmacro()
-
-
 macro(ADD_CHECK_C_COMPILER_FLAG
        _CFLAGS
        _CACHE_VAR