llvm.org GIT mirror llvm / 70fda36
[CMake] LLVMProcessSources.cmake: Prune add_file_dependencies to ${TABLEGEN_OUTPUT}. I am sure it'd not be required any more. In trunk, all of tablegen's users depend on ${TABLEGEN_OUTPUT} as not file dependency but inter-target dependency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201063 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 0 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
4141 cmake_parse_arguments(ARG "" "" "ADDITIONAL_HEADERS" ${ARGN})
4242 set(sources ${ARG_UNPARSED_ARGUMENTS})
4343 llvm_check_source_file_list( ${sources} )
44 # Create file dependencies on the tablegenned files, if any. Seems
45 # that this is not strictly needed, as dependencies of the .cpp
46 # sources on the tablegenned .inc files are detected and handled,
47 # but just in case...
48 foreach( s ${sources} )
49 set( f ${CMAKE_CURRENT_SOURCE_DIR}/${s} )
50 add_file_dependencies( ${f} ${TABLEGEN_OUTPUT} )
51 endforeach(s)
5244 if( MSVC_IDE OR XCODE )
5345 # This adds .td and .h files to the Visual Studio solution:
5446 add_td_sources(sources)