Remove header project from Visual Studio builds

Remove the polly_headers_do_not_build project. Visual Studio is capable
of finding the headers itself, although they are not listed explicitly.
For explicit listing, the headers should be added to the relevant
target.

Reviewers: grosser
llvm-svn: 242777
This commit is contained in:
Michael Kruse 2015-07-21 12:33:15 +00:00
parent c4ad882daf
commit 9e0db1d2e8
3 changed files with 0 additions and 11 deletions

View File

@ -142,7 +142,6 @@ install(DIRECTORY ${POLLY_BINARY_DIR}/include/
add_definitions( -D_GNU_SOURCE )
add_subdirectory(include)
add_subdirectory(lib)
add_subdirectory(test)
add_subdirectory(tools)

View File

@ -1 +0,0 @@
add_subdirectory(polly)

View File

@ -1,9 +0,0 @@
if( MSVC_IDE OR XCODE )
# Creates a dummy target containing all headers for the benefit of
# Visual Studio users.
file(GLOB_RECURSE headers *.h)
add_library(polly_headers_do_not_build EXCLUDE_FROM_ALL
# We need at least one source file:
${POLLY_SOURCE_DIR}/lib/Support/GICHelper.cpp
${headers})
endif()