Revert "Cmake: Compiling with warnings by default"

It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.
This commit is contained in:
Yehonal
2017-09-25 10:25:21 +02:00
parent da45fbf75c
commit e687d223ff
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ option(SCRIPTS "Build core with scripts included"
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_PERFTOOLS "Enable compilation with gperftools libraries included" 0)
option(WITH_MESHEXTRACTOR "Build meshextractor (alpha)" 0)

View File

@@ -53,9 +53,9 @@ else()
endif()
if( WITH_WARNINGS )
message("* Show all warnings : Yes (default)")
message("* Show all warnings : Yes")
else()
message("* Show compile-warnings : No")
message("* Show compile-warnings : No (default)")
endif()
if( WITH_COREDEBUG )