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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-27 16:08:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-27 16:08:35 +0400
commite4c299d9753d5493719a7e21fc9d23371e6f14ef (patch)
treee73bf55f5e25fbc413ffde7c3401175fed340684 /intern/ghost/CMakeLists.txt
parent6b825e67986c77fd114441553c364c1430e2e91d (diff)
comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers.
with GCC we have *some* warnings as errors which works out better.
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r--intern/ghost/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index bdda0f3382e..e028c4e6912 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -248,9 +248,10 @@ elseif(UNIX)
endif()
elseif(WIN32)
- if(MSVC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
- endif()
+ ## Warnings as errors, this is too strict!
+ #if(MSVC)
+ # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
+ #endif()
list(APPEND INC_SYS
${WINTAB_INC}