From: NAKAMURA Takumi Date: Thu, 20 Feb 2014 13:42:30 +0000 (+0000) Subject: [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1e3bb3fc4198ab93fae493d7c2a4237733231334;p=oota-llvm.git [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target. add_public_tablegen_target is used somewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201787 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index fdb47511dcc..36404811d7d 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -65,7 +65,7 @@ macro(add_public_tablegen_target target) add_dependencies(${target} ${LLVM_COMMON_DEPENDS}) endif () set_target_properties(${target} PROPERTIES FOLDER "Tablegenning") - list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen) + list(APPEND LLVM_COMMON_DEPENDS ${target}) endif( TABLEGEN_OUTPUT ) endmacro() diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index c2f704f1334..06a74d72081 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -9,6 +9,8 @@ add_llvm_library(LLVMTarget TargetSubtargetInfo.cpp ) +list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen) + foreach(t ${LLVM_TARGETS_TO_BUILD}) message(STATUS "Targeting ${t}") add_subdirectory(${t})