commit | 0895db0abfd194722706ee561b78c8f71a2b9ee8 | [log] [tgz] |
---|---|---|
author | Oscar Fuentes <ofv@wanadoo.es> | Mon Jan 03 16:59:52 2011 +0000 |
committer | Oscar Fuentes <ofv@wanadoo.es> | Mon Jan 03 16:59:52 2011 +0000 |
tree | 7cc6d9e581e2e43a0ace928abde4e226b7f14cd0 | |
parent | dc615e41b56daa380e80982097a609bb25afaa82 [diff] [blame] |
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
diff --git a/cmake/modules/LLVMProcessSources.cmake b/cmake/modules/LLVMProcessSources.cmake index 092c2f7..5f59eac 100644 --- a/cmake/modules/LLVMProcessSources.cmake +++ b/cmake/modules/LLVMProcessSources.cmake
@@ -12,7 +12,7 @@ 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})