diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-10-10 12:28:12 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-10-12 06:01:15 (GMT) |
commit | 5bf85e25178f5d9f19d2f30cf66f088c21e1114a (patch) | |
tree | dd22cbdaa84ef3faa5da98ced25adfed3219a507 /Source/cmake.cxx | |
parent | aa59badd6f1ab3c40d3674c26e1e55271d25225c (diff) | |
download | CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.zip CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.gz CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.bz2 |
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 50f47af..eb35aba 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -733,6 +733,7 @@ void cmake::SetArgs(const std::vector<std::string>& args) return; } this->SetLogLevel(logLevel); + this->LogLevelWasSetViaCLI = true; } else if (arg.find("--loglevel=", 0) == 0) { // This is supported for backward compatibility. This option only // appeared in the 3.15.x release series and was renamed to @@ -744,6 +745,7 @@ void cmake::SetArgs(const std::vector<std::string>& args) return; } this->SetLogLevel(logLevel); + this->LogLevelWasSetViaCLI = true; } else if (arg.find("--trace-expand", 0) == 0) { std::cout << "Running with expanded trace output on.\n"; this->SetTrace(true); |