CMake/Source/CPack
Daniel Pfeifer 5cec953e6a Use std::replace for replacing chars in strings.
Find uses of `cmSystemTools::ReplaceString` where both `replace` and
`with` are string literals with a size of one.

Automate with:

git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\2', '\3');|g"
git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\\\\\\\\\");|std::replace(\1.begin(), \1.end(), '\2', '\\\\\\\\');|g"
git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\\\\\\\\\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\\\\\\\\', '\2');|g"
2016-05-24 23:22:20 +02:00
..
IFW CPackIFW: Command cpack_ifw_configure_component learned ESSENTIAL option 2016-05-23 19:09:03 +03:00
WiX Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
OSXLauncherScript.scpt BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
OSXScriptLauncher.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
bills-comments.txt Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCPack7zGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPack7zGenerator.h CPack: add generators for .7z and .tar.xz (#13072, #14519) 2014-07-29 09:48:41 -04:00
cmCPackArchiveGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackArchiveGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackBundleGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackBundleGenerator.h CPack: Add support for code signing of bundles on MacOS 2014-10-28 12:20:05 -06:00
cmCPackComponentGroup.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackComponentGroup.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackConfigure.h.in Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackCygwinBinaryGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackCygwinBinaryGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackCygwinSourceGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackCygwinSourceGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackDebGenerator.cxx CPack/Deb possibility to change package name 2016-05-23 19:55:46 +02:00
cmCPackDebGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackDragNDropGenerator.cxx cmCPackDragNDropGenerator: Replace std::{ostringstream => string} 2016-05-17 13:47:21 -04:00
cmCPackDragNDropGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackGeneratorFactory.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackGeneratorFactory.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackLog.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackLog.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackNSISGenerator.cxx Use std::replace for replacing chars in strings. 2016-05-24 23:22:20 +02:00
cmCPackNSISGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackOSXX11Generator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackOSXX11Generator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackPackageMakerGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackPackageMakerGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackRPMGenerator.cxx Use std::replace for replacing chars in strings. 2016-05-24 23:22:20 +02:00
cmCPackRPMGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackSTGZGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackSTGZGenerator.h Source: Stabilize include order 2016-04-29 13:58:31 -04:00
cmCPackTGZGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTGZGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTXZGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTXZGenerator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTarBZip2Generator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTarBZip2Generator.h Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTarCompressGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackTarCompressGenerator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cmCPackZIPGenerator.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cmCPackZIPGenerator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cpack.cxx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
cygwin.readme Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00