Fixing dependencies for native tablegen.
authorChris Bieneman <beanz@apple.com>
Thu, 19 Mar 2015 16:49:44 +0000 (16:49 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 19 Mar 2015 16:49:44 +0000 (16:49 +0000)
commita7c5163281d0480994ad392887ebf93a306b569b
tree464732b90bcc553c5e35ca273982bf10686c53ac
parentcd7ece1a89424e6cd2298455d640e2bea13696a3
Fixing dependencies for native tablegen.

The dependencies for cross-built tablegen were a bit confused. This fixes that. The following dependencies are now enforced:

(1) Tablegen tasks depend on the native tablegen
(2) Native tablegen depends on the cross-compiled tablegen

Although the native tablegen doesn't actually require the cross tablegen, having this dependency forces the native tablegen to rebuild whenever the cross tablegen changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232730 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/TableGen.cmake