summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-10-23 21:36:55 +0000
committerJordan Rose <jordan_rose@apple.com>2012-10-23 21:36:55 +0000
commitc7b09dd1d175131f54dff237dc5d783d9128ec48 (patch)
tree149be5b070ab071d5bf3c31fc473554ce8853eba /llvm/cmake
parentce0740d8cfbc3cd7e673952df1f3a0e82a95c2a6 (diff)
downloadbcm5719-llvm-c7b09dd1d175131f54dff237dc5d783d9128ec48.tar.gz
bcm5719-llvm-c7b09dd1d175131f54dff237dc5d783d9128ec48.zip
CMake: Include private headers / tablegen files in generated Xcode projects.
llvm-svn: 166503
Diffstat (limited to 'llvm/cmake')
-rw-r--r--llvm/cmake/modules/LLVMProcessSources.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/LLVMProcessSources.cmake b/llvm/cmake/modules/LLVMProcessSources.cmake
index 0e410edc15f..2cef6cfc3a3 100644
--- a/llvm/cmake/modules/LLVMProcessSources.cmake
+++ b/llvm/cmake/modules/LLVMProcessSources.cmake
@@ -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)
OpenPOWER on IntegriCloud