Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
This commit is contained in:
parent
70ab2a8771
commit
8ad3c15d63
2 changed files with 3 additions and 3 deletions
|
|
@ -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" 0)
|
||||
option(WITH_WARNINGS "Show all warnings during compile" 1)
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ else()
|
|||
endif()
|
||||
|
||||
if( WITH_WARNINGS )
|
||||
message("* Show all warnings : Yes")
|
||||
message("* Show all warnings : Yes (default)")
|
||||
else()
|
||||
message("* Show compile-warnings : No (default)")
|
||||
message("* Show compile-warnings : No")
|
||||
endif()
|
||||
|
||||
if( WITH_COREDEBUG )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue