From ffc6039f6b1d4b178267db7a0b97f8113ec53032 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz>
Date: Wed, 2 Aug 2017 23:05:19 +0200
Subject: [PATCH] Added MIC headers to CMakeLists.txt

---
 src/TNL/Containers/Algorithms/CMakeLists.txt | 2 ++
 src/TNL/Devices/CMakeLists.txt               | 3 ++-
 src/TNL/Exceptions/CMakeLists.txt            | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/TNL/Containers/Algorithms/CMakeLists.txt b/src/TNL/Containers/Algorithms/CMakeLists.txt
index 4b2744aced..89fbb03687 100644
--- a/src/TNL/Containers/Algorithms/CMakeLists.txt
+++ b/src/TNL/Containers/Algorithms/CMakeLists.txt
@@ -3,6 +3,7 @@ ADD_SUBDIRECTORY( TemplateExplicitInstantiation )
 set( headers ArrayOperations.h
              ArrayOperationsHost_impl.h
              ArrayOperationsCuda_impl.h
+             ArrayOperationsMIC_impl.h
              cuda-prefix-sum.h
              cuda-prefix-sum_impl.h
              reduction-operations.h
@@ -17,6 +18,7 @@ set( headers ArrayOperations.h
              VectorOperations.h
              VectorOperationsHost_impl.h
              VectorOperationsCuda_impl.h
+             VectorOperationsMIC_impl.h
    )
 
 INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Containers/Algorithms )
diff --git a/src/TNL/Devices/CMakeLists.txt b/src/TNL/Devices/CMakeLists.txt
index fac5e2a88b..7b4babe28e 100644
--- a/src/TNL/Devices/CMakeLists.txt
+++ b/src/TNL/Devices/CMakeLists.txt
@@ -2,7 +2,8 @@ set (headers Cuda.h
              Cuda_impl.h
              CudaCallable.h
              CudaDeviceInfo.h
-             Host.h )
+             Host.h
+             MIC.h )
 
 SET( CURRENT_DIR ${CMAKE_SOURCE_DIR}/src/TNL/Devices )
 set( common_SOURCES
diff --git a/src/TNL/Exceptions/CMakeLists.txt b/src/TNL/Exceptions/CMakeLists.txt
index 04cf427b56..856f8c2fc7 100644
--- a/src/TNL/Exceptions/CMakeLists.txt
+++ b/src/TNL/Exceptions/CMakeLists.txt
@@ -1,5 +1,7 @@
 SET( headers CudaBadAlloc.h
              CudaRuntimeError.h
-             CudaSupportMissing.h )
+             CudaSupportMissing.h
+             MICBadAlloc.h
+             MICSupportMissing.h )
 
 INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Exceptions )
-- 
GitLab