1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
5 #include "cmsys/SystemTools.hxx"
7 // Use the make system's VERBOSE environment variable to enable
8 // verbose output. This can be skipped by also setting CMAKE_NO_VERBOSE
9 // (which is set by the Eclipse generator).
10 inline bool isCMakeVerbose()
12 return (cmSystemTools::HasEnv("VERBOSE") &&
13 !cmSystemTools::HasEnv("CMAKE_NO_VERBOSE"));