Fixing a "multiple rules generate X" warning from ninja
authorEdwin Vane <edwin.vane@intel.com>
Thu, 21 Feb 2013 15:12:01 +0000 (15:12 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Thu, 21 Feb 2013 15:12:01 +0000 (15:12 +0000)
commit12db04f82035bdbc2ae7d8cbd79d686ab8b64584
tree8ff3907b8b89ab0ad73842653ae56c7c9cee6340
parentb8135a8a6b7ac621a338e0fc7f99ac4323a5f309
Fixing a "multiple rules generate X" warning from ninja

CMake's Ninja generator was not detecting that test/lit.site.cfg.in and
test/subdir/../lit.site.cfg.in were really the same file. Ninja noticed this
and complained as both appeared as targets (for the missing file rule). Now
canonicalizing the path to ensure the paths presented to CMake are identical
and the duplication is now fixed.

llvm-svn: 175744
clang-tools-extra/test/cpp11-migrate/CMakeLists.txt