[polly] r242777 - Remove header project from Visual Studio builds

Michael Kruse llvm at meinersbur.de
Tue Jul 21 05:33:15 PDT 2015


Author: meinersbur
Date: Tue Jul 21 07:33:15 2015
New Revision: 242777

URL: http://llvm.org/viewvc/llvm-project?rev=242777&view=rev
Log:
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


Removed:
    polly/trunk/include/CMakeLists.txt
    polly/trunk/include/polly/CMakeLists.txt
Modified:
    polly/trunk/CMakeLists.txt

Modified: polly/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/CMakeLists.txt?rev=242777&r1=242776&r2=242777&view=diff
==============================================================================
--- polly/trunk/CMakeLists.txt (original)
+++ polly/trunk/CMakeLists.txt Tue Jul 21 07:33:15 2015
@@ -142,7 +142,6 @@ install(DIRECTORY ${POLLY_BINARY_DIR}/in
 
 add_definitions( -D_GNU_SOURCE )
 
-add_subdirectory(include)
 add_subdirectory(lib)
 add_subdirectory(test)
 add_subdirectory(tools)

Removed: polly/trunk/include/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/CMakeLists.txt?rev=242776&view=auto
==============================================================================
--- polly/trunk/include/CMakeLists.txt (original)
+++ polly/trunk/include/CMakeLists.txt (removed)
@@ -1 +0,0 @@
-add_subdirectory(polly)

Removed: polly/trunk/include/polly/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CMakeLists.txt?rev=242776&view=auto
==============================================================================
--- polly/trunk/include/polly/CMakeLists.txt (original)
+++ polly/trunk/include/polly/CMakeLists.txt (removed)
@@ -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()





More information about the llvm-commits mailing list