From: Richard Pennington Date: Thu, 9 Jul 2009 20:27:09 +0000 (+0000) Subject: bug 4524: Add MSP430 to the cmake build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a51984b8ba7b676520508bd6641fe861f64cbb2b;p=oota-llvm.git bug 4524: Add MSP430 to the cmake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75170 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a59efb7715..48d0f76f042 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,7 @@ set(LLVM_ALL_TARGETS IA64 Mips MSIL + MSP430 PIC16 PowerPC Sparc diff --git a/lib/Target/MSP430/CMakeLists.txt b/lib/Target/MSP430/CMakeLists.txt index 67017733cd9..b106a2dc458 100644 --- a/lib/Target/MSP430/CMakeLists.txt +++ b/lib/Target/MSP430/CMakeLists.txt @@ -12,12 +12,13 @@ tablegen(MSP430GenSubtarget.inc -gen-subtarget) add_llvm_target(MSP430 MSP430AsmPrinter.cpp - MSP430FrameInfo.cpp - MSP430InstrInfo.cpp MSP430ISelDAGToDAG.cpp - MSP430ISelLowering.cpp MSP430RegisterInfo.cpp - MSP430Subtarget.cpp MSP430TargetAsmInfo.cpp + MSP430InstrInfo.cpp + MSP430ISelLowering.cpp + MSP430Subtarget.cpp MSP430TargetMachine.cpp ) + +target_link_libraries (LLVMMSP430 LLVMSelectionDAG)