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
This commit is contained in:
Oscar Fuentes 2011-01-03 16:59:52 +00:00
parent dc615e41b5
commit 0895db0abf

View File

@ -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})