diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-16 23:06:59 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-16 23:06:59 +0000 |
commit | 23d75bb3262dff87945bfb90065ef653d62e3947 (patch) | |
tree | 9d1485b24f739024c6113eedeaf5667149bea3bd /clang/lib/Basic/CMakeLists.txt | |
parent | d24535fe3c6507071ca6111f590969f5d721efec (diff) | |
download | bcm5719-llvm-23d75bb3262dff87945bfb90065ef653d62e3947.tar.gz bcm5719-llvm-23d75bb3262dff87945bfb90065ef653d62e3947.zip |
Build system changes to use TableGen to generate the various
diagnostics. This builds on the patch that Sebastian committed and
then revert. Major differences are:
- We don't remove or use the current ".def" files. Instead, for now,
we just make sure that we're building the ".inc" files.
- Fixed CMake makefiles to run TableGen and build the ".inc" files
when needed. Tested with both the Xcode and Makefile generators
provided by CMake, so it should be solid.
- Fixed normal makefiles to handle out-of-source builds that involve
the ".inc" files.
I'll send a separate patch to the list with Sebastian's changes that
eliminate the use of the .def files.
llvm-svn: 67058
Diffstat (limited to 'clang/lib/Basic/CMakeLists.txt')
-rw-r--r-- | clang/lib/Basic/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/lib/Basic/CMakeLists.txt b/clang/lib/Basic/CMakeLists.txt index 37fa210df85..26568598f61 100644 --- a/clang/lib/Basic/CMakeLists.txt +++ b/clang/lib/Basic/CMakeLists.txt @@ -11,3 +11,13 @@ add_clang_library(clangBasic Targets.cpp TokenKinds.cpp ) + +add_dependencies(clangBasic + ClangDiagnosticAnalysis + ClangDiagnosticAST + ClangDiagnosticCommon + ClangDiagnosticDriver + ClangDiagnosticFrontend + ClangDiagnosticLex + ClangDiagnosticParse + ClangDiagnosticSema) |