From b1bf0626712d6f45dbe501f0c15cb472f4cfff79 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 24 Apr 2012 07:30:38 +0000 Subject: [PATCH] Configuration name is added to the CMake status report --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17738ed9a9..93eeec77f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -681,6 +681,9 @@ endif() if(CMAKE_GENERATOR MATCHES Xcode) status(" Xcode:" ${XCODE_VERSION}) endif() +if(NOT CMAKE_GENERATOR MATCHES "Xcode|Visual Studio") + status(" Configuration:" ${CMAKE_BUILD_TYPE}) +endif() # C/C++ options status("")