Skip to content

Commit

Permalink
LLVMProcessSources.cmake: [MSVC] Don't add "PROPERTIES HEADER_FILE_ON…
Browse files Browse the repository at this point in the history
…LY" to *.def.

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
  • Loading branch information
chapuni committed Jun 24, 2012
1 parent 653bbb4 commit b253451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/modules/LLVMProcessSources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand All @@ -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()
Expand Down

0 comments on commit b253451

Please sign in to comment.