From e76303e72718a2699967b257d38927c429be7444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Fri, 13 Apr 2007 13:46:59 +0000 Subject: [PATCH] cmake: force verbose make files, add output for disable wall git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17797 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index 9953db3426..1a7040c80f 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -68,7 +68,9 @@ endif(shared) if(UNIX) if(NOT quiet) - set(CMAKE_VERBOSE_MAKEFILE ON) + set(CMAKE_VERBOSE_MAKEFILE ON CACHE TYPE STRING FORCE) + message(STATUS "verbose Makefile, disable with -Dquiet=1") + message(STATUS "") endif(NOT quiet) set(LYX_CXX_FLAGS -Wall) if(stdlib-debug) @@ -180,6 +182,7 @@ if(MSVC) # Use the highest warning level set(CMAKE_CXX_WARNING_LEVEL 4 CACHE TYPE STRING FORCE) + set(WARNING_LEVEL_MESSAGE "(switch to warning level 3 with -DDISABLEWALL=1)") if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]") STRING(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")