aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2015-09-11 09:01:55 +0000
committerMichael Kruse <llvm@meinersbur.de>2015-09-11 09:01:55 +0000
commitef3cf01d1ccb11271c5727c8d461dcad448f4ab8 (patch)
tree5f5613fc9829215de67a4a698612402189bf6303
parent6d14f6aa4e38e14da0b29ae40ff378764c123bdb (diff)
downloadllvm-ef3cf01d1ccb11271c5727c8d461dcad448f4ab8.zip
llvm-ef3cf01d1ccb11271c5727c8d461dcad448f4ab8.tar.gz
llvm-ef3cf01d1ccb11271c5727c8d461dcad448f4ab8.tar.bz2
Add Polly header files to IDE projects
llvm-svn: 247398
-rw-r--r--polly/lib/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt
index 6e63ec7..2f628a2 100644
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -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.