BuildSystem: Make dep/* sources muted during compile (3rd party sources should not show messages during compile, as we're not responsible for them)

Note: Certain functions called within the main src/ subdir will warn due to that we do not ignore them in the CMakeLists.txt yet.
This will be properly handled at an opportune moment.
Buildsystem/CMake: Set default warninglevel to 0 (no warnings shown during compile) - some warnings will still show while we create the "mutelist"

--HG--
branch : trunk
This commit is contained in:
click
2010-09-12 18:32:49 +02:00
parent c5b1861fe9
commit 2279102ec9
2 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,6 @@ option(TOOLS "Build map/vmap extraction/assembler tools"
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(USE_SFMT "Use SFMT as random numbergenerator" 0)
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_SQL "Copy SQL files during installation" 0)

View File

@@ -8,6 +8,12 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
if( CMAKE_COMPILER_IS_GNUCXX )
add_definitions(--no-warnings)
elseif( MSVC )
add_definitions( /w )
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
add_subdirectory(jemalloc)
set(JEMALLOC_LIB "jemalloc")