[llvm-commits] [llvm] r74161 - in /llvm/trunk: cmake/modules/TableGen.cmake lib/Target/ARM/AsmPrinter/CMakeLists.txt lib/Target/Alpha/AsmPrinter/CMakeLists.txt lib/Target/CellSPU/AsmPrinter/CMakeLists.txt lib/Target/IA64/AsmPrinter/CMakeLists.txt lib/Target/Mips/AsmPrinter/CMakeLists.txt lib/Target/PowerPC/AsmPrinter/CMakeLists.txt lib/Target/Sparc/AsmPrinter/CMakeLists.txt lib/Target/X86/AsmPrinter/CMakeLists.txt

Douglas Gregor dgregor at apple.com
Wed Jun 24 22:03:06 PDT 2009


Author: dgregor
Date: Thu Jun 25 00:03:06 2009
New Revision: 74161

URL: http://llvm.org/viewvc/llvm-project?rev=74161&view=rev
Log:
Add missing dependencies to the CMake build system.

Modified:
    llvm/trunk/cmake/modules/TableGen.cmake
    llvm/trunk/lib/Target/ARM/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/Alpha/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/IA64/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/Mips/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/PowerPC/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/Sparc/AsmPrinter/CMakeLists.txt
    llvm/trunk/lib/Target/X86/AsmPrinter/CMakeLists.txt

Modified: llvm/trunk/cmake/modules/TableGen.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/TableGen.cmake?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake (original)
+++ llvm/trunk/cmake/modules/TableGen.cmake Thu Jun 25 00:03:06 2009
@@ -20,4 +20,6 @@
     COMMENT "Building ${ofn}..."
     )
   set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn})
+  set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${ofn} 
+    PROPERTIES GENERATED 1)
 endmacro(tablegen)

Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/ARM/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -3,3 +3,4 @@
 add_llvm_library(LLVMARMAsmPrinter
   ARMAsmPrinter.cpp
   )
+add_dependencies(LLVMARMAsmPrinter ARMCodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/Alpha/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Alpha/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -3,3 +3,4 @@
 add_llvm_library(LLVMAlphaAsmPrinter
   AlphaAsmPrinter.cpp
   )
+add_dependencies(LLVMAlphaAsmPrinter AlphaCodeGenTable_gen)

Modified: llvm/trunk/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -6,3 +6,4 @@
 add_llvm_library(LLVMCellSPUAsmPrinter
   SPUAsmPrinter.cpp
   )
+add_dependencies(LLVMCellSPUAsmPrinter CellSPUCodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/IA64/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/IA64/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/IA64/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/IA64/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -6,3 +6,4 @@
 add_llvm_library(LLVMIA64AsmPrinter
   IA64AsmPrinter.cpp
   )
+add_dependencies(LLVMIA64AsmPrinter IA64CodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/Mips/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Mips/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Mips/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -6,3 +6,4 @@
 add_llvm_library(LLVMMipsAsmPrinter
   MipsAsmPrinter.cpp
   )
+add_dependencies(LLVMMipsAsmPrinter MipsCodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/PowerPC/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/PowerPC/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -3,3 +3,4 @@
 add_llvm_library(LLVMPowerPCAsmPrinter
   PPCAsmPrinter.cpp
   )
+add_dependencies(LLVMPowerPCAsmPrinter PowerPCCodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/Sparc/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Sparc/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/Sparc/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -3,3 +3,4 @@
 add_llvm_library(LLVMSparcAsmPrinter
   SparcAsmPrinter.cpp
   )
+add_dependencies(LLVMSparcAsmPrinter SparcCodeGenTable_gen)
\ No newline at end of file

Modified: llvm/trunk/lib/Target/X86/AsmPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/CMakeLists.txt?rev=74161&r1=74160&r2=74161&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/CMakeLists.txt Thu Jun 25 00:03:06 2009
@@ -6,3 +6,4 @@
   X86AsmPrinter.cpp
   X86IntelAsmPrinter.cpp
   )
+add_dependencies(LLVMX86AsmPrinter X86CodeGenTable_gen)
\ No newline at end of file





More information about the llvm-commits mailing list