]> granicus.if.org Git - clang/commit
Build system changes to use TableGen to generate the various
authorDouglas Gregor <dgregor@apple.com>
Mon, 16 Mar 2009 23:06:59 +0000 (23:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 16 Mar 2009 23:06:59 +0000 (23:06 +0000)
commita393e9eedcc28b25f521a4feceb3b56e3d0d360f
tree666937547a17f428a2bcbaebc8a82c97798871dd
parent8c84417776e57d58ab573b2f4c485e67cb68d996
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67058 91177308-0d34-0410-b5e6-96231b3b80d8
26 files changed:
CMakeLists.txt
Driver/Makefile
Makefile
include/CMakeLists.txt [new file with mode: 0644]
include/Makefile [new file with mode: 0644]
include/clang/Basic/CMakeLists.txt [new file with mode: 0644]
include/clang/Basic/Makefile [new file with mode: 0644]
include/clang/CMakeLists.txt [new file with mode: 0644]
include/clang/Makefile [new file with mode: 0644]
lib/AST/CMakeLists.txt
lib/AST/Makefile
lib/Analysis/CMakeLists.txt
lib/Analysis/Makefile
lib/Basic/CMakeLists.txt
lib/Basic/Makefile
lib/CodeGen/Makefile
lib/Driver/Makefile
lib/Frontend/Makefile
lib/Lex/CMakeLists.txt
lib/Lex/Makefile
lib/Parse/CMakeLists.txt
lib/Parse/Makefile
lib/Rewrite/Makefile
lib/Sema/CMakeLists.txt
lib/Sema/Makefile
tools/driver/Makefile