diff options
author | Brad King <brad.king@kitware.com> | 2009-07-03 12:41:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-03 12:41:10 (GMT) |
commit | 11d1063452178b00ac66304da337c1cb56dfa469 (patch) | |
tree | ea97e52e9bba286f733b26455ca2b457c678931b /Source/cmMakefileTargetGenerator.h | |
parent | 789eaf157c1587e4eff9c2627c50e537fc56ba71 (diff) | |
download | CMake-11d1063452178b00ac66304da337c1cb56dfa469.zip CMake-11d1063452178b00ac66304da337c1cb56dfa469.tar.gz CMake-11d1063452178b00ac66304da337c1cb56dfa469.tar.bz2 |
ENH: Create cmMakefileTargetGenerator::ConfigName
This member stores the build configuration for which Makefiles are being
generated. It saves repeated lookup of the equivalent member from
cmLocalUnixMakefileGenerator3, making code shorter and more readable.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index 815dc8d..568c1c9 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -155,6 +155,7 @@ protected: cmLocalUnixMakefileGenerator3 *LocalGenerator; cmGlobalUnixMakefileGenerator3 *GlobalGenerator; cmMakefile *Makefile; + const char *ConfigName; enum CustomCommandDriveType { OnBuild, OnDepends, OnUtility }; CustomCommandDriveType CustomCommandDriver; |