Files
CMake/Source
Frank Benkstein 6199637e95 configure_file: canonicalize input and output path in dependencies
Represent the input file path internally in canonical form.  Otherwise
multiple `configure_file` calls that share the same input file but specify
it relative to different directories (e.g. via `../`) result in multiple
copies of the dependency on the rule to re-run CMake.  This causes the
Ninja generator to emit duplicate phony build statements for these
dependencies, which generates an error with `-w dupbuild=err`, which
will be default in Ninja 1.9.

Also canonicalize the output path for consistency.

Add a test case.

Fixes: #18584
2018-11-13 15:01:17 -05:00
..
2018-06-04 10:32:49 -04:00
2018-11-09 00:01:04 -05:00
2018-06-04 10:32:49 -04:00
2018-02-26 11:24:45 -05:00
2018-02-26 11:24:45 -05:00
2018-10-18 08:07:46 -04:00
2018-10-18 08:07:46 -04:00
2018-06-04 10:32:49 -04:00
2018-02-13 11:24:30 -05:00
2018-08-24 14:58:49 -04:00
2018-08-24 14:58:49 -04:00
2018-04-03 17:28:08 -04:00