summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-24 14:45:07 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-24 17:12:02 (GMT)
commitec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e (patch)
tree9dad5b456eea444fe1316f928bde9adf0a991bed /Source/cmInstallGenerator.h
parentabebcd235c94e05a20003430981a1b46b0fb7f95 (diff)
downloadCMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.zip
CMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.gz
CMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.bz2
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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index c72e9e9..8e8db40 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