Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-03-11 23:11:19 +0300
committerRay Molenkamp <github@lazydodo.com>2020-03-11 23:11:19 +0300
commit72461c09b472686cb659223cc628a2b1c728c35c (patch)
tree42ff6a8a6d088ed039358f8e3d289ea24a6fb73d /extern
parent372dcacbe4f3131115166c725820305a6823a5e1 (diff)
Windows: Clean-up warnings originating from bullet
Bullet currently generates the majority of the warnings on windows all of them are silly. This patch disables all warns from bullet for now. We should revisit this if/when we update bullet to a newer version. Reviewed By: sergey brecht Differential Revision: https://developer.blender.org/D7118
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet2/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/bullet2/CMakeLists.txt b/extern/bullet2/CMakeLists.txt
index f1bb6a37cbf..5f345c6a901 100644
--- a/extern/bullet2/CMakeLists.txt
+++ b/extern/bullet2/CMakeLists.txt
@@ -415,4 +415,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
endif()
+if(WIN32)
+ # bullet is responsible for quite a few silly warnings
+ # repress all of them. Not great, but they really needed
+ # to sort that out themselves.
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0")
+endif()
+
blender_add_lib(extern_bullet "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")