1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

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 fee4ada68b
commit a40af11692

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)