The TableGen parts of the CMake build are seriously broken. This fixes
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Nov 2011 05:03:06 +0000 (05:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Nov 2011 05:03:06 +0000 (05:03 +0000)
commit1bfc9f8ff2e585854a0c8fa6cc840cdefb9e5124
treeb90dc947bea34a0303b0f14dd4a3cdc054f0d43d
parent3f2b2c218faf9c08975f24629e01c28cf88f5feb
The TableGen parts of the CMake build are seriously broken. This fixes
one aspect of them by having them use the (annoying, if not broken)
proper library dependency model for adding the LLVMTableGen library as
a dependency. This could manifest as a link order issue in the presence
of separate LLVM / Clang source builds with CMake and a linker that
really cares about such things.

Also, add the Support dependency to llvm-tblgen itself so that it
doesn't rely on TableGen's transitive Support dependency. A parallel
change for clang-tblgen will be forthcoming.

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