diff options
author | Brad King <brad.king@kitware.com> | 2014-06-24 14:45:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-24 17:12:02 (GMT) |
commit | ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e (patch) | |
tree | 9dad5b456eea444fe1316f928bde9adf0a991bed /Source/cmInstallGenerator.cxx | |
parent | abebcd235c94e05a20003430981a1b46b0fb7f95 (diff) | |
download | CMake-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.cxx')
-rw-r--r-- | Source/cmInstallGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx index 9370e48..0bc4073 100644 --- a/Source/cmInstallGenerator.cxx +++ b/Source/cmInstallGenerator.cxx @@ -17,10 +17,12 @@ cmInstallGenerator ::cmInstallGenerator(const char* destination, std::vector<std::string> const& configurations, - const char* component): + const char* component, + MessageLevel message): cmScriptGenerator("CMAKE_INSTALL_CONFIG_NAME", configurations), Destination(destination? destination:""), - Component(component? component:"") + Component(component? component:""), + Message(message) { } |