- improve warning text

- add checkbox to disable warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1232 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2015-03-04 14:51:24 +00:00
parent 3aa79dcdaf
commit ec3667c198
2 changed files with 26 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ endif()
include (ACGOutput)
# ========================================================================
# Definitions
# ========================================================================
if (WIN32)
add_definitions(
-D_USE_MATH_DEFINES -DNOMINMAX
@@ -31,6 +35,10 @@ if (WIN32)
)
endif ()
set(NO_DECREMENT_DEPRECATED_WARNINGS OFF CACHE BOOL "Disables all deprecated warnings warning about decrement operations on normal circulators.")
if(NO_DECREMENT_DEPRECATED_WARNINGS)
add_definitions( -DNO_DECREMENT_DEPRECATED_WARNINGS )
endif()
# ========================================================================
# Windows build style control