diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2019-08-18 12:22:11 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2019-08-18 12:22:11 (GMT) |
commit | da26b3be8948471dd2320d1e44af9eb5dfaa0f6a (patch) | |
tree | d3e861dde3c600440154767d88a90a13af5abc01 /Source/cmQtAutoGenInitializer.cxx | |
parent | 06e32a089df03c158eaee7525de3ac1be25d8136 (diff) | |
download | CMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.zip CMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.tar.gz CMake-da26b3be8948471dd2320d1e44af9eb5dfaa0f6a.tar.bz2 |
avoid adding multiple consecutive string literals to std::string
While at it change some single character additions to be of type char.
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index 3218076..850aac4 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -294,11 +294,9 @@ bool cmQtAutoGenInitializer::InitCustomTargets() // Info directory this->Dir.Info = cbd; - this->Dir.Info += "/CMakeFiles"; - this->Dir.Info += '/'; + this->Dir.Info += "/CMakeFiles/"; this->Dir.Info += this->Target->GetName(); - this->Dir.Info += "_autogen"; - this->Dir.Info += ".dir"; + this->Dir.Info += "_autogen.dir"; cmSystemTools::ConvertToUnixSlashes(this->Dir.Info); // Build directory |