Line | Count | Source |
1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
2 | file LICENSE.rst or https://cmake.org/licensing for details. */ | |
3 | #pragma once | |
4 | ||
5 | #include "cmsys/SystemTools.hxx" | |
6 | ||
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() | |
11 | 0 | { |
12 | 0 | return (cmSystemTools::HasEnv("VERBOSE") && |
13 | 0 | !cmSystemTools::HasEnv("CMAKE_NO_VERBOSE")); |
14 | 0 | } |