aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kretz <kretz@kde.org>2007-07-05 09:58:38 +0000
committerMatthias Kretz <kretz@kde.org>2007-07-05 09:58:38 +0000
commit238e053ff4d6073e8cbe847bb8a4fed9bedd2505 (patch)
tree2f7c54f411fc40bfa1aa40b2cd6946fb097358cc
parenta8f664a620e803403f45d3197749286dacbfe522 (diff)
downloadextra-cmake-modules-238e053ff4d6073e8cbe847bb8a4fed9bedd2505.tar.gz
extra-cmake-modules-238e053ff4d6073e8cbe847bb8a4fed9bedd2505.tar.bz2
show message only in verbose mode
svn path=/trunk/KDE/kdelibs/; revision=683791
-rw-r--r--modules/kde4automoc.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/kde4automoc.cmake b/modules/kde4automoc.cmake
index d57f760d..718a47a4 100644
--- a/modules/kde4automoc.cmake
+++ b/modules/kde4automoc.cmake
@@ -76,7 +76,9 @@ foreach(_filename ${MOC_FILES})
set(_current_MOC "moc_${_basename}.cpp")
generate_moc(${_filename} ${_current_MOC})
else (".h" STREQUAL "${_suffix}" OR ".hpp" STREQUAL "${_suffix}" OR ".hxx" STREQUAL "${_suffix}" OR ".H" STREQUAL "${_suffix}")
- message(STATUS "Automoc: ignoring file '${_filename}' with unknown suffix '${_suffix}'")
+ if($ENV{VERBOSE})
+ message(STATUS "Automoc: ignoring file '${_filename}' with unknown suffix '${_suffix}'")
+ endif($ENV{VERBOSE})
endif (".h" STREQUAL "${_suffix}" OR ".hpp" STREQUAL "${_suffix}" OR ".hxx" STREQUAL "${_suffix}" OR ".H" STREQUAL "${_suffix}")
endif (".cpp" STREQUAL "${_suffix}" OR ".cc" STREQUAL "${_suffix}" OR ".cxx" STREQUAL "${_suffix}" OR ".C" STREQUAL "${_suffix}")
endif ("${_filename}" IS_NEWER_THAN "${MARK_FILE}" OR "${_moc_source}" IS_NEWER_THAN "${MARK_FILE}")