Verbose makefile just for debug compilation.

This commit is contained in:
Martin Rotter 2013-06-03 19:49:01 +02:00
parent 34c6f2fc91
commit c85e5a44a0

View File

@ -24,9 +24,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# Verbose compiling ouputs.
set(CMAKE_VERBOSE_MAKEFILE ON)
# Obtain revision number if available.
if(EXISTS "${PROJECT_SOURCE_DIR}/.git")
find_package(Git)
@ -86,6 +83,9 @@ elseif(CMAKE_BUILD_TOOL MATCHES "(msdev|devenv|nmake)")
add_definitions(/W2)
endif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
# Verbose compiling ouputs.
set(CMAKE_VERBOSE_MAKEFILE ON)
endif(CMAKE_BUILD_TYPE STREQUAL "release" OR CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RELEASE")
# Check for C++ 11 features availability.