diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-06-21 22:04:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-06-21 22:04:07 +0000 |
commit | 1b587358be643836c00a96130b1e3b4f7f3cad06 (patch) | |
tree | ad89c3d2ebde4aab52bf1675a9bd200537f22bbd /llvm/lib/Support/GraphWriter.cpp | |
parent | 014db29b89146b2de1e3911eb811f808d7f7d48b (diff) | |
download | llvm-1b587358be643836c00a96130b1e3b4f7f3cad06.zip llvm-1b587358be643836c00a96130b1e3b4f7f3cad06.tar.gz llvm-1b587358be643836c00a96130b1e3b4f7f3cad06.tar.bz2 |
TableGen.cmake: Use DEPFILE for Ninja Generator with CMake>=3.7.
CMake emits build targets as relative paths (from build.ninja) but Ninja doesn't identify absolute path (in *.d) as relative path (in build.ninja).
So, let file names, in the command line, relative from ${CMAKE_BINARY_DIR}, where build.ninja is.
Note that tblgen is executed on ${CMAKE_BINARY_DIR} as working directory.
Differential Revision: https://reviews.llvm.org/D33707
llvm-svn: 305961
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions