mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-23 07:52:06 +00:00
[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:
parent
f6c451a30a
commit
8dd548d236
@ -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()
|
||||
|
||||
|
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user