CMake: Include private headers / tablegen files in generated Xcode projects.

llvm-svn: 166503
This commit is contained in:
Jordan Rose 2012-10-23 21:36:55 +00:00
parent ce0740d8cf
commit c7b09dd1d1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function(llvm_process_sources OUT_VAR)
set( f ${CMAKE_CURRENT_SOURCE_DIR}/${s} )
add_file_dependencies( ${f} ${TABLEGEN_OUTPUT} )
endforeach(s)
if( MSVC_IDE )
if( MSVC_IDE OR XCODE )
# This adds .td and .h files to the Visual Studio solution:
# FIXME: Shall we handle *.def here?
add_td_sources(sources)