From c7e41e229d996ae7d676a587539193a358669e2d Mon Sep 17 00:00:00 2001
From: Christoph Rettinger <christoph.rettinger@fau.de>
Date: Wed, 3 Jan 2018 12:15:47 +0100
Subject: [PATCH] Added a showcases folder

---
 CMakeLists.txt                | 1 +
 apps/CMakeLists.txt           | 6 ++++++
 apps/showcases/CMakeLists.txt | 0
 3 files changed, 7 insertions(+)
 create mode 100644 apps/showcases/CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95e35fd71..43a8138c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,6 +67,7 @@ option ( WALBERLA_BUILD_TESTS               "Build Testcases"
 option ( WALBERLA_BUILD_BENCHMARKS          "Build Benchmarks"                                ON )
 option ( WALBERLA_BUILD_TOOLS               "Build Tools"                                        )
 option ( WALBERLA_BUILD_TUTORIALS           "Build Tutorials"                                 ON )
+option ( WALBERLA_BUILD_SHOWCASES           "Build Showcases"                                OFF )
 
 option ( WALBERLA_BUILD_WITH_MPI            "Build with MPI"                                  ON )
 option ( WALBERLA_BUILD_WITH_METIS          "Build with metis graph partitioner"             OFF )
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
index bb86f5c21..d834bd20e 100644
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -22,6 +22,12 @@ else ()
     add_subdirectory ( tutorials EXCLUDE_FROM_ALL )
 endif()
 
+# Showcases
+if ( WALBERLA_BUILD_SHOWCASES )
+    add_subdirectory ( showcases )
+else ()
+    add_subdirectory ( showcases EXCLUDE_FROM_ALL )
+endif()
 
 # Python module
 if ( WALBERLA_BUILD_WITH_PYTHON )
diff --git a/apps/showcases/CMakeLists.txt b/apps/showcases/CMakeLists.txt
new file mode 100644
index 000000000..e69de29bb
-- 
GitLab