LLVMProcessSources.cmake: [MSVC] Don't add "PROPERTIES HEADER_FILE_ONLY" to *.def.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 24 Jun 2012 03:50:58 +0000 (03:50 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 24 Jun 2012 03:50:58 +0000 (03:50 +0000)
FIXME: Shall we put *.def(s) to the folder?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159102 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/LLVMProcessSources.cmake

index bb11e9cad6c02d29e1ff902982080df2e3ac8071..0e410edc15fe995422b64ba434ab7aea517b9c4a 100644 (file)
@@ -29,7 +29,7 @@ endmacro(add_td_sources)
 
 
 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 @@ function(llvm_process_sources OUT_VAR)
   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()