summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-05 20:35:24 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-05 20:35:24 (GMT)
commit179943bf14c2553d3a419bc1a80aca9017fdc287 (patch)
tree41bdd65e2b738472a75b746b40ac60c7181ddb80 /Source/cmGlobalUnixMakefileGenerator3.h
parenteab5a4350d45fe228ad143cf481c52c26feacef3 (diff)
downloadCMake-179943bf14c2553d3a419bc1a80aca9017fdc287.zip
CMake-179943bf14c2553d3a419bc1a80aca9017fdc287.tar.gz
CMake-179943bf14c2553d3a419bc1a80aca9017fdc287.tar.bz2
STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so the
kdevelop generator doesn't need its own CreateLocalGenerator() anymore Alex
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 5c20b3d..8fd2f2b 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -132,6 +132,17 @@ public:
unsigned long GetNumberOfProgressActionsInAll
(cmLocalUnixMakefileGenerator3 *lg);
+ /** Get whether the generator should use a script for link commands. */
+ bool GetForceVerboseMakefiles() { return this->ForceVerboseMakefiles; }
+ /**
+ * If set to true, the CMake variable CMAKE_VERBOSE_MAKEFILES doesn't have
+ * anymore. Set it to true when writing a generator where short output
+ * doesn't make sense, e.g. because the full output is parsed by an
+ * IDE/editor.
+ */
+ void SetForceVerboseMakefiles(bool enable)
+ {this->ForceVerboseMakefiles=enable;}
+
protected:
void WriteMainMakefile2();
void WriteMainCMakefile();
@@ -185,6 +196,7 @@ protected:
MultipleOutputPairsType MultipleOutputPairs;
std::map<cmStdString, int > TargetSourceFileCount;
+ bool ForceVerboseMakefiles;
};
#endif