1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

LLVMProcessSources: add .def files along with .h files to targets for

the benefit of project-based generators (VS, XCode, etc).

llvm-svn: 122749
This commit is contained in:
Oscar Fuentes 2011-01-03 16:59:52 +00:00
parent 667024a2eb
commit bf3f9406c7

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