mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user