diff options
author | Brad King <brad.king@kitware.com> | 2008-10-15 14:40:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-10-15 14:40:57 (GMT) |
commit | 690121f09829a93b815bfb949115fc33f5e4a175 (patch) | |
tree | d92f9c2e25abdc69369765c01bcfe91700e4376a /Source/cmLocalUnixMakefileGenerator3.h | |
parent | 9c29a72fbc6f52f9e2ac558811b74490355329d3 (diff) | |
download | CMake-690121f09829a93b815bfb949115fc33f5e4a175.zip CMake-690121f09829a93b815bfb949115fc33f5e4a175.tar.gz CMake-690121f09829a93b815bfb949115fc33f5e4a175.tar.bz2 |
BUG: Fix color check for dependency scanning
Generation of color rules for dependency scanning messages did not
account for disabling color at generation time. See issue #7814.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index 220aaa8..ebb7c79 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -193,6 +193,9 @@ public: void AppendEcho(std::vector<std::string>& commands, const char* text, EchoColor color = EchoNormal); + /** Get whether the makefile is to have color. */ + bool GetColorMakefile() const { return this->ColorMakefile; } + virtual std::string GetTargetDirectory(cmTarget const& target) const; // create a command that cds to the start dir then runs the commands |