Files
CMake/Source
Brad King d74e651b78 Makefiles: Re-implement makefile target path escaping and quoting
Previously we used `cmSystemTools::ConvertToOutputPath` which internally
used KWSys methods

* SystemTools::ConvertToUnixOutputPath
* SystemTools::ConvertToWindowsOutputPath

These were written in very early days of CMake and have some
limitations:

* They do not encode all characters.  E.g. '#' is left out.
* They attempt to do some path cleanup and handle existing quotes.
  These days CMake has clean unquoted paths already.
* They attempted to encode paths both for makefile targets and
  for shell command lines.  The latter use has mostly been replaced.
* Choosing between the two methods depends on a global variable!
  Several code paths in CMake have to copy the global generator's
  member ForceUnixPaths variable over to the cmSystemTools global.

Re-implement the `ConvertToMakefilePath` method to drop use of those
methods.  Compute suitable makefile target path escaping and quoting
via local logic.  Add support for more characters like '#'.

Fixes: #20555
2020-04-15 08:34:49 -04:00
..
2020-03-27 07:49:30 -04:00
2020-03-27 07:50:28 -04:00
2020-03-27 07:50:28 -04:00
2020-04-13 00:01:13 -04:00
2020-04-07 08:00:45 -04:00
2020-03-17 08:05:29 -04:00
2020-03-27 07:50:28 -04:00
2020-02-27 11:11:30 +01:00
2020-02-27 11:11:30 +01:00
2020-02-27 11:11:30 +01:00
2020-02-27 11:11:30 +01:00
2020-02-27 11:11:30 +01:00
2020-03-27 07:50:28 -04:00
2020-03-05 07:34:01 -05:00