Remove header project from Visual Studio builds
authorMichael Kruse <llvm@meinersbur.de>
Tue, 21 Jul 2015 12:33:15 +0000 (12:33 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 21 Jul 2015 12:33:15 +0000 (12:33 +0000)
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

polly/CMakeLists.txt
polly/include/CMakeLists.txt [deleted file]
polly/include/polly/CMakeLists.txt [deleted file]

index 64c671e..453acd4 100644 (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)
diff --git a/polly/include/CMakeLists.txt b/polly/include/CMakeLists.txt
deleted file mode 100644 (file)
index abe73d1..0000000
+++ /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 (file)
index ef92163..0000000
+++ /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()