From 46d9cbb6d287a8744dbf400aaefa6b5f29274529 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Tue, 7 Feb 2012 00:48:38 +0100 Subject: Added cmake status messages on compile options used. Reviewed-by: Erik Schilling --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 895fd349..977524e9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,10 +38,12 @@ SET(FLAGS "${FLAGS} -std=c++0x") IF (ENABLE_NLS) SET(FLAGS "${FLAGS} -DENABLE_NLS=1") + MESSAGE(STATUS "i18n support enabled") ENDIF() IF (ENABLE_MANASERV) SET(FLAGS "${FLAGS} -DMANASERV_SUPPORT=1") + MESSAGE(STATUS "Manaserv support enabled") ENDIF() IF (CMAKE_BUILD_TYPE) @@ -49,6 +51,7 @@ IF (CMAKE_BUILD_TYPE) IF(CMAKE_BUILD_TYPE_TOLOWER MATCHES debug OR CMAKE_BUILD_TYPE_TOLOWER MATCHES relwithdebinfo) SET(FLAGS "${FLAGS} -DDEBUG") + MESSAGE(STATUS "Set Debug build type") ENDIF() ENDIF() @@ -69,6 +72,7 @@ IF (WITH_OPENGL) FIND_PACKAGE(OpenGL REQUIRED) INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) SET(FLAGS "${FLAGS} -DUSE_OPENGL") + MESSAGE(STATUS "OpenGL support enabled") ENDIF (WITH_OPENGL) IF (USE_X11) -- cgit v1.2.3-70-g09d2