[CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.

add_public_tablegen_target is used somewhere.

llvm-svn: 201787
This commit is contained in:
NAKAMURA Takumi 2014-02-20 13:42:30 +00:00
parent f6c451a30a
commit 8dd548d236
2 changed files with 3 additions and 1 deletions

View File

@ -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()

View File

@ -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})