summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/LLVMProcessSources.cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-01-03 16:59:52 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-01-03 16:59:52 +0000
commit13ce15ca69ae0d7a234f4635952f0a6bd8cdf697 (patch)
tree75d8d09201ea335f4a2bfc56c924de53eebd8a86 /llvm/cmake/modules/LLVMProcessSources.cmake
parent3d90ae27e75128054264f9bce7b69c24ba88e952 (diff)
downloadbcm5719-llvm-13ce15ca69ae0d7a234f4635952f0a6bd8cdf697.tar.gz
bcm5719-llvm-13ce15ca69ae0d7a234f4635952f0a6bd8cdf697.zip
LLVMProcessSources: add .def files along with .h files to targets for
the benefit of project-based generators (VS, XCode, etc). llvm-svn: 122749
Diffstat (limited to 'llvm/cmake/modules/LLVMProcessSources.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 092c2f795d3..5f59eac4511 100644
--- a/llvm/cmake/modules/LLVMProcessSources.cmake
+++ b/llvm/cmake/modules/LLVMProcessSources.cmake
@@ -12,7 +12,7 @@ endmacro(add_td_sources)
macro(add_header_files srcs)
- file(GLOB hds *.h)
+ file(GLOB hds *.h *.def)
if( hds )
set_source_files_properties(${hds} PROPERTIES HEADER_FILE_ONLY ON)
list(APPEND ${srcs} ${hds})
OpenPOWER on IntegriCloud