summaryrefslogtreecommitdiff
path: root/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
commit0895db0abfd194722706ee561b78c8f71a2b9ee8 (patch)
tree7cc6d9e581e2e43a0ace928abde4e226b7f14cd0 /cmake
parentdc615e41b56daa380e80982097a609bb25afaa82 (diff)
downloadllvm-0895db0abfd194722706ee561b78c8f71a2b9ee8.tar.gz
llvm-0895db0abfd194722706ee561b78c8f71a2b9ee8.tar.bz2
llvm-0895db0abfd194722706ee561b78c8f71a2b9ee8.tar.xz
LLVMProcessSources: add .def files along with .h files to targets for
the benefit of project-based generators (VS, XCode, etc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/LLVMProcessSources.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake
index 092c2f795d..5f59eac451 100644
--- a/cmake/modules/LLVMProcessSources.cmake
+++ b/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})