diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 18:57:48 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 23:10:39 (GMT) |
commit | 2409f62d18b714f3342db99201eadc13420708da (patch) | |
tree | 282a911668441393c18147665307165b808272a3 /Source/CPack/WiX | |
parent | a5ba00bdf875cb1290b90abb8c9f55c1b7f88876 (diff) | |
download | CMake-2409f62d18b714f3342db99201eadc13420708da.zip CMake-2409f62d18b714f3342db99201eadc13420708da.tar.gz CMake-2409f62d18b714f3342db99201eadc13420708da.tar.bz2 |
strings: simplify streaming sequences
Diffstat (limited to 'Source/CPack/WiX')
-rw-r--r-- | Source/CPack/WiX/cmCPackWIXGenerator.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx index 45f91b2..3a116db 100644 --- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx +++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx @@ -103,11 +103,10 @@ bool cmCPackWIXGenerator::RunCandleCommand(std::string const& sourceFile, } std::ostringstream command; - command << QuotePath(executable); - command << " -nologo" + command << QuotePath(executable) + << " -nologo" " -arch " - << arch; - command << " -out " << QuotePath(objectFile); + << arch << " -out " << QuotePath(objectFile); for (std::string const& ext : CandleExtensions) { command << " -ext " << QuotePath(ext); @@ -132,8 +131,8 @@ bool cmCPackWIXGenerator::RunLightCommand(std::string const& objectFiles) } std::ostringstream command; - command << QuotePath(executable); - command << " -nologo" + command << QuotePath(executable) + << " -nologo" " -out " << QuotePath(CMakeToWixPath(packageFileNames.at(0))); |