summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-15 00:40:52 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-15 00:40:52 +0000
commit9a0001aedb02ad07b3472828161d9d2794d9d410 (patch)
tree2739b0e1b71249e3d82369f6602740df9a9f947e /llvm/lib/Target/SystemZ
parent445d39b0b73ce46879c7ce49141962ce1d8607ad (diff)
downloadbcm5719-llvm-9a0001aedb02ad07b3472828161d9d2794d9d410.tar.gz
bcm5719-llvm-9a0001aedb02ad07b3472828161d9d2794d9d410.zip
Major update to CMake build to reflect changes in r135219 in the
backend. Moved some MCAsmInfo files down into the MCTargetDesc sublibraries, removed some (i suspect long) dead files from other parts of the CMake build, etc. Also copied the include directory hack from the Makefile. Finally, updated the lib deps. I spot checked this, and think its correct, but review appreciated there. llvm-svn: 135234
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/CMakeLists.txt1
-rw-r--r--llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt8
2 files changed, 7 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/CMakeLists.txt b/llvm/lib/Target/SystemZ/CMakeLists.txt
index 218ee1380a3..f4bdbd8cd17 100644
--- a/llvm/lib/Target/SystemZ/CMakeLists.txt
+++ b/llvm/lib/Target/SystemZ/CMakeLists.txt
@@ -13,7 +13,6 @@ add_llvm_target(SystemZCodeGen
SystemZISelLowering.cpp
SystemZInstrInfo.cpp
SystemZFrameLowering.cpp
- SystemZMCAsmInfo.cpp
SystemZRegisterInfo.cpp
SystemZSubtarget.cpp
SystemZTargetMachine.cpp
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt b/llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
index f7fab5f4977..2ac90164721 100644
--- a/llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
+++ b/llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
@@ -1 +1,7 @@
-add_llvm_library(LLVMSystemZDesc SystemZMCTargetDesc.cpp)
+add_llvm_library(LLVMSystemZDesc
+ SystemZMCTargetDesc.cpp
+ SystemZMCAsmInfo.cpp
+ )
+
+# Hack: we need to include 'main' target directory to grab private headers
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
OpenPOWER on IntegriCloud