[llvm-commits] [llvm] r115391 - in /llvm/trunk: CMakeLists.txt lib/Target/MSP430/InstPrinter/CMakeLists.txt
Jim Grosbach
grosbach at apple.com
Fri Oct 1 17:39:56 PDT 2010
Author: grosbach
Date: Fri Oct 1 19:39:56 2010
New Revision: 115391
URL: http://llvm.org/viewvc/llvm-project?rev=115391&view=rev
Log:
Update CMake files for recent AsmPrinter->InstPrinter changes. Can someone who
is more familiar with CMake please review?
Modified:
llvm/trunk/CMakeLists.txt
llvm/trunk/lib/Target/MSP430/InstPrinter/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=115391&r1=115390&r2=115391&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Fri Oct 1 19:39:56 2010
@@ -323,6 +323,10 @@
add_subdirectory(lib/Target/${t}/AsmPrinter)
set(LLVM_ENUM_ASM_PRINTERS
"${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n")
+ if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/InstPrinter/CMakeLists.txt )
+ add_subdirectory(lib/Target/${t}/InstPrinter)
+ set(LLVM_ENUM_ASM_PRINTERS
+ "${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n")
endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt )
if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmParser/CMakeLists.txt )
add_subdirectory(lib/Target/${t}/AsmParser)
Modified: llvm/trunk/lib/Target/MSP430/InstPrinter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/InstPrinter/CMakeLists.txt?rev=115391&r1=115390&r2=115391&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/InstPrinter/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/MSP430/InstPrinter/CMakeLists.txt Fri Oct 1 19:39:56 2010
@@ -1,8 +1,6 @@
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
add_llvm_library(LLVMMSP430AsmPrinter
- MSP430AsmPrinter.cpp
MSP430InstPrinter.cpp
- MSP430MCInstLower.cpp
)
add_dependencies(LLVMMSP430AsmPrinter MSP430CodeGenTable_gen)
More information about the llvm-commits
mailing list