[llvm-commits] [llvm] r74003 - /llvm/trunk/cmake/modules/AddLLVM.cmake

Douglas Gregor dgregor at apple.com
Tue Jun 23 14:05:22 PDT 2009


Author: dgregor
Date: Tue Jun 23 16:05:21 2009
New Revision: 74003

URL: http://llvm.org/viewvc/llvm-project?rev=74003&view=rev
Log:
Reinstate target dependencies on Table_gen targets in CMake

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=74003&r1=74002&r2=74003&view=diff

==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Tue Jun 23 16:05:21 2009
@@ -58,4 +58,7 @@
   endif( TABLEGEN_OUTPUT )
   include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
   add_llvm_library(LLVM${target_name} ${ARGN} ${TABLEGEN_OUTPUT})
+  if ( TABLEGEN_OUTPUT )
+    add_dependencies(LLVM${target_name} ${target_name}Table_gen)
+  endif (TABLEGEN_OUTPUT)
 endmacro(add_llvm_target)





More information about the llvm-commits mailing list