Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 24 Oct 2010 03:57:07 +0000 (03:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 24 Oct 2010 03:57:07 +0000 (03:57 +0000)
commitc7ff23cc34e67e0c8f292fe19c4af4af05b15f1c
tree7d1042471c76dc5ea79c9dad427318d9b6083536
parentea5670f4b597828bfb0170f9b659d19ebdb5ab33
Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
but external libs which we don't maintain & generated code will have -Werror removed.

This is GCC only, MSVC can be added easily.
build_files/cmake/macros.cmake
extern/CMakeLists.txt
source/blender/makesrna/intern/CMakeLists.txt
source/blender/render/CMakeLists.txt
source/blenderplayer/bad_level_call_stubs/CMakeLists.txt