diff options
author | Brad King <brad.king@kitware.com> | 2014-06-24 10:45:07 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-24 13:12:02 -0400 |
commit | ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e (patch) | |
tree | 9dad5b456eea444fe1316f928bde9adf0a991bed /Source/cmInstallGenerator.h | |
parent | abebcd235c94e05a20003430981a1b46b0fb7f95 (diff) | |
download | cmake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.gz |
install: Thread message level setting through internal API
Create a cmInstallGenerator::MessageLevel enumeration for future use in
specifying install message verbosity. Thread values of the type through
constructors and save the value as a member of cmInstallGenerator.
Use only a "MessageDefault" value for now.
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r-- | Source/cmInstallGenerator.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h index c72e9e96cc..8e8db40177 100644 --- a/Source/cmInstallGenerator.h +++ b/Source/cmInstallGenerator.h @@ -24,9 +24,15 @@ class cmLocalGenerator; class cmInstallGenerator: public cmScriptGenerator { public: + enum MessageLevel + { + MessageDefault, + }; + cmInstallGenerator(const char* destination, std::vector<std::string> const& configurations, - const char* component); + const char* component, + MessageLevel message); virtual ~cmInstallGenerator(); void AddInstallRule( @@ -58,6 +64,7 @@ protected: // Information shared by most generator types. std::string Destination; std::string Component; + MessageLevel Message; }; #endif |