Skip to content

Commit

Permalink
[CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
chapuni committed Feb 20, 2014
1 parent e4ede0b commit 1e3bb3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/TableGen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 2 additions & 0 deletions lib/Target/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 1e3bb3f

Please sign in to comment.