summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-07 00:48:38 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-07 00:53:25 +0100
commit46d9cbb6d287a8744dbf400aaefa6b5f29274529 (patch)
treefbcb5c2666544ff902f32afc9e273436e0f4af29 /src/CMakeLists.txt
parent1058aeee26c22be6e4e6fcf70ab1a2f478d5bbdd (diff)
downloadmana-46d9cbb6d287a8744dbf400aaefa6b5f29274529.tar.gz
mana-46d9cbb6d287a8744dbf400aaefa6b5f29274529.tar.bz2
mana-46d9cbb6d287a8744dbf400aaefa6b5f29274529.tar.xz
mana-46d9cbb6d287a8744dbf400aaefa6b5f29274529.zip
Added cmake status messages on compile options used.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)