summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-25 18:16:19 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-25 18:16:19 (GMT)
commitff41664c6bf3ce91e155b08ef23f4f2e061ba857 (patch)
treec737a34bd9a06ae864fb1980ead761859d706cf3 /Source/cmLocalUnixMakefileGenerator3.h
parent9704c8f8c3ddb830eefd06e23d2a64e6b091a5a2 (diff)
downloadCMake-ff41664c6bf3ce91e155b08ef23f4f2e061ba857.zip
CMake-ff41664c6bf3ce91e155b08ef23f4f2e061ba857.tar.gz
CMake-ff41664c6bf3ce91e155b08ef23f4f2e061ba857.tar.bz2
ENH: Slight improvement in genreation time by recording the setting of CMAKE_COLOR_MAKEFILE in an ivar of each local generator at the beginning of generation. This avoids many repeated table lookups.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 30bd6c7..686687d 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -308,7 +308,11 @@ private:
//==========================================================================
std::string HomeRelativeOutputPath;
-
+
+ /* Copy the setting of CMAKE_COLOR_MAKEFILE from the makefile at the
+ beginning of generation to avoid many duplicate lookups. */
+ bool ColorMakefile;
+
std::map<cmStdString,std::vector<cmTarget *> > LocalObjectFiles;
/* does the work for each target */