[llvm-commits] [llvm] r159102 - /llvm/trunk/cmake/modules/LLVMProcessSources.cmake

NAKAMURA Takumi geek4civic at gmail.com
Sat Jun 23 20:50:58 PDT 2012


Author: chapuni
Date: Sat Jun 23 22:50:58 2012
New Revision: 159102

URL: http://llvm.org/viewvc/llvm-project?rev=159102&view=rev
Log:
LLVMProcessSources.cmake: [MSVC] Don't add "PROPERTIES HEADER_FILE_ONLY" to *.def.

FIXME: Shall we put *.def(s) to the folder?

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=159102&r1=159101&r2=159102&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMProcessSources.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMProcessSources.cmake Sat Jun 23 22:50:58 2012
@@ -29,7 +29,7 @@
 
 
 macro(add_header_files srcs)
-  file(GLOB hds *.h *.def)
+  file(GLOB hds *.h)
   if( hds )
     set_source_files_properties(${hds} PROPERTIES HEADER_FILE_ONLY ON)
     list(APPEND ${srcs} ${hds})
@@ -50,6 +50,7 @@
   endforeach(s)
   if( MSVC_IDE )
     # This adds .td and .h files to the Visual Studio solution:
+    # FIXME: Shall we handle *.def here?
     add_td_sources(sources)
     add_header_files(sources)
   endif()





More information about the llvm-commits mailing list