LLVMProcessSources: add .def files along with .h files to targets for
authorOscar Fuentes <ofv@wanadoo.es>
Mon, 3 Jan 2011 16:59:52 +0000 (16:59 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Mon, 3 Jan 2011 16:59:52 +0000 (16:59 +0000)
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

cmake/modules/LLVMProcessSources.cmake

index 092c2f795d37396a874afd3c94c041424c98a4c8..5f59eac451184041e2c824d22c6d2ec8dfc7b6be 100644 (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})