[polly] r247398 - Add Polly header files to IDE projects

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 02:02:01 PDT 2015


Author: meinersbur
Date: Fri Sep 11 04:01:55 2015
New Revision: 247398

URL: http://llvm.org/viewvc/llvm-project?rev=247398&view=rev
Log:
Add Polly header files to IDE projects

Modified:
    polly/trunk/lib/CMakeLists.txt

Modified: polly/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CMakeLists.txt?rev=247398&r1=247397&r2=247398&view=diff
==============================================================================
--- polly/trunk/lib/CMakeLists.txt (original)
+++ polly/trunk/lib/CMakeLists.txt Fri Sep 11 04:01:55 2015
@@ -267,6 +267,10 @@ set (ISL_FILES
     External/isl/imath/imrat.c
     )
 
+set(POLLY_HEADER_FILES)
+if (MSVC_IDE OR XCODE)
+  file(GLOB_RECURSE POLLY_HEADER_FILES "${POLLY_SOURCE_DIR}/include/polly/*.h")
+endif ()
 
 add_polly_library(Polly
   Analysis/DependenceInfo.cpp
@@ -296,6 +300,7 @@ add_polly_library(Polly
   Transform/IndependentBlocks.cpp
   Transform/ScheduleOptimizer.cpp
   ${ISL_FILES}
+  ${POLLY_HEADER_FILES}
   )
 
 # ISL requires at least C99 to compile. gcc < 5.0 use -std=gnu89 as default.




More information about the llvm-commits mailing list