summaryrefslogtreecommitdiffstats
path: root/Source/cmMachO.h
diff options
context:
space:
mode:
authorFrank Benkstein <frank@benkstein.net>2018-11-09 18:14:58 (GMT)
committerBrad King <brad.king@kitware.com>2018-11-19 15:11:12 (GMT)
commit57701227d68d7add76c119a570adf654af03de95 (patch)
tree0a94260ddd56cb57c66a9291b7578f4f64bba547 /Source/cmMachO.h
parent8d70ed5a10362209d265a15d993f319235aea7e5 (diff)
downloadCMake-57701227d68d7add76c119a570adf654af03de95.zip
CMake-57701227d68d7add76c119a570adf654af03de95.tar.gz
CMake-57701227d68d7add76c119a570adf654af03de95.tar.bz2
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
Diffstat (limited to 'Source/cmMachO.h')
0 files changed, 0 insertions, 0 deletions