From: Michael Kruse Date: Tue, 21 Jul 2015 12:33:15 +0000 (+0000) Subject: Remove header project from Visual Studio builds X-Git-Tag: studio-1.4~2005 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e0db1d2e82460aba86dfbd94d6a02f2af7f5c53;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt index 64c671e..453acd4 100644 --- a/polly/CMakeLists.txt +++ b/polly/CMakeLists.txt @@ -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) diff --git a/polly/include/CMakeLists.txt b/polly/include/CMakeLists.txt deleted file mode 100644 index abe73d1..0000000 --- a/polly/include/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory(polly) diff --git a/polly/include/polly/CMakeLists.txt b/polly/include/polly/CMakeLists.txt deleted file mode 100644 index ef92163..0000000 --- a/polly/include/polly/CMakeLists.txt +++ /dev/null @@ -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()