[llvm-commits] [llvm] r122749 - /llvm/trunk/cmake/modules/LLVMProcessSources.cmake
Oscar Fuentes
ofv at wanadoo.es
Mon Jan 3 08:59:53 PST 2011
Author: ofv
Date: Mon Jan 3 10:59:52 2011
New Revision: 122749
URL: http://llvm.org/viewvc/llvm-project?rev=122749&view=rev
Log:
LLVMProcessSources: add .def files along with .h files to targets for
the benefit of project-based generators (VS, XCode, etc).
Modified:
llvm/trunk/cmake/modules/LLVMProcessSources.cmake
Modified: llvm/trunk/cmake/modules/LLVMProcessSources.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMProcessSources.cmake?rev=122749&r1=122748&r2=122749&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMProcessSources.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMProcessSources.cmake Mon Jan 3 10:59:52 2011
@@ -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})
More information about the llvm-commits
mailing list