[cfe-commits] r69357 - /cfe/trunk/include/clang/Basic/CMakeLists.txt
Chris Lattner
sabre at nondot.org
Fri Apr 17 10:04:49 PDT 2009
Author: lattner
Date: Fri Apr 17 12:04:48 2009
New Revision: 69357
URL: http://llvm.org/viewvc/llvm-project?rev=69357&view=rev
Log:
add basic support for building DiagnosticGroups.inc with cmake
Modified:
cfe/trunk/include/clang/Basic/CMakeLists.txt
Modified: cfe/trunk/include/clang/Basic/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/CMakeLists.txt?rev=69357&r1=69356&r2=69357&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/CMakeLists.txt (original)
+++ cfe/trunk/include/clang/Basic/CMakeLists.txt Fri Apr 17 12:04:48 2009
@@ -13,4 +13,8 @@
clang_diag_gen(Frontend)
clang_diag_gen(Lex)
clang_diag_gen(Parse)
-clang_diag_gen(Sema)
\ No newline at end of file
+clang_diag_gen(Sema)
+tablegen(DiagnosticGroups.inc
+ -gen-clang-diag-groups)
+add_custom_target(ClangDiagnosticGroups
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/DiagnosticGroups.inc)
More information about the cfe-commits
mailing list