From 9a0001aedb02ad07b3472828161d9d2794d9d410 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 15 Jul 2011 00:40:52 +0000 Subject: 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 --- llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target/XCore/MCTargetDesc') diff --git a/llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt b/llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt index 849413f3de5..c3b3dc9e647 100644 --- a/llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt +++ b/llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt @@ -1 +1,7 @@ -add_llvm_library(LLVMXCoreDesc XCoreMCTargetDesc.cpp) +add_llvm_library(LLVMXCoreDesc + XCoreMCTargetDesc.cpp + XCoreMCAsmInfo.cpp + ) + +# Hack: we need to include 'main' target directory to grab private headers +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..) -- cgit v1.2.3