From 252a997368f011d2c66c42537bb95e527d54f885 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 9 Mar 2017 17:03:12 -0600 Subject: [PATCH] Examples: Annotate dependency clause in example CMakeLists.txt files --- examples/step-17/CMakeLists.txt | 2 +- examples/step-18/CMakeLists.txt | 2 +- examples/step-22/CMakeLists.txt | 2 +- examples/step-29/CMakeLists.txt | 2 +- examples/step-31/CMakeLists.txt | 2 +- examples/step-32/CMakeLists.txt | 4 +--- examples/step-33/CMakeLists.txt | 2 +- examples/step-34/CMakeLists.txt | 2 +- examples/step-35/CMakeLists.txt | 2 +- examples/step-36/CMakeLists.txt | 2 +- examples/step-37/CMakeLists.txt | 2 +- examples/step-40/CMakeLists.txt | 2 +- examples/step-41/CMakeLists.txt | 2 +- examples/step-42/CMakeLists.txt | 4 +--- examples/step-43/CMakeLists.txt | 2 +- examples/step-44/CMakeLists.txt | 2 +- examples/step-45/CMakeLists.txt | 4 +--- examples/step-46/CMakeLists.txt | 2 +- examples/step-50/CMakeLists.txt | 4 +--- examples/step-53/CMakeLists.txt | 2 +- examples/step-54/CMakeLists.txt | 2 +- examples/step-55/CMakeLists.txt | 2 +- examples/step-56/CMakeLists.txt | 2 +- examples/step-57/CMakeLists.txt | 2 +- 24 files changed, 24 insertions(+), 32 deletions(-) diff --git a/examples/step-17/CMakeLists.txt b/examples/step-17/CMakeLists.txt index 888a6236a7..6913b28947 100644 --- a/examples/step-17/CMakeLists.txt +++ b/examples/step-17/CMakeLists.txt @@ -38,7 +38,7 @@ ENDIF () # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) +IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_PETSC = ON diff --git a/examples/step-18/CMakeLists.txt b/examples/step-18/CMakeLists.txt index 83696a59e0..be073fbdca 100644 --- a/examples/step-18/CMakeLists.txt +++ b/examples/step-18/CMakeLists.txt @@ -38,7 +38,7 @@ ENDIF () # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) +IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_PETSC = ON diff --git a/examples/step-22/CMakeLists.txt b/examples/step-22/CMakeLists.txt index 55311a0373..c262fc69d6 100644 --- a/examples/step-22/CMakeLists.txt +++ b/examples/step-22/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON diff --git a/examples/step-29/CMakeLists.txt b/examples/step-29/CMakeLists.txt index 9b2b683bac..16cf78c24c 100644 --- a/examples/step-29/CMakeLists.txt +++ b/examples/step-29/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON diff --git a/examples/step-31/CMakeLists.txt b/examples/step-31/CMakeLists.txt index a829ff2370..b4291ed8e7 100644 --- a/examples/step-31/CMakeLists.txt +++ b/examples/step-31/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_TRILINOS) +IF(NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_TRILINOS = ON diff --git a/examples/step-32/CMakeLists.txt b/examples/step-32/CMakeLists.txt index 415427bc30..1baaa25597 100644 --- a/examples/step-32/CMakeLists.txt +++ b/examples/step-32/CMakeLists.txt @@ -40,9 +40,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF( NOT DEAL_II_WITH_MPI OR - NOT DEAL_II_WITH_P4EST OR - NOT DEAL_II_WITH_TRILINOS ) +IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_P4EST OR NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_MPI = ON diff --git a/examples/step-33/CMakeLists.txt b/examples/step-33/CMakeLists.txt index 128ad8d596..4d83dc4e69 100644 --- a/examples/step-33/CMakeLists.txt +++ b/examples/step-33/CMakeLists.txt @@ -40,7 +40,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_TRILINOS) +IF(NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_TRILINOS = ON diff --git a/examples/step-34/CMakeLists.txt b/examples/step-34/CMakeLists.txt index bb78d83995..54490b3bcc 100644 --- a/examples/step-34/CMakeLists.txt +++ b/examples/step-34/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_MUPARSER) +IF(NOT DEAL_II_WITH_MUPARSER) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_MUPARSER = ON diff --git a/examples/step-35/CMakeLists.txt b/examples/step-35/CMakeLists.txt index 816410decb..be2eb4b411 100644 --- a/examples/step-35/CMakeLists.txt +++ b/examples/step-35/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON diff --git a/examples/step-36/CMakeLists.txt b/examples/step-36/CMakeLists.txt index 68891f204e..3034ca17d4 100644 --- a/examples/step-36/CMakeLists.txt +++ b/examples/step-36/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_PETSC OR NOT DEAL_II_WITH_SLEPC OR DEAL_II_PETSC_WITH_COMPLEX) +IF(NOT DEAL_II_WITH_PETSC OR NOT DEAL_II_WITH_SLEPC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_PETSC = ON diff --git a/examples/step-37/CMakeLists.txt b/examples/step-37/CMakeLists.txt index 2714ebb7d5..7cb006726a 100644 --- a/examples/step-37/CMakeLists.txt +++ b/examples/step-37/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_LAPACK) +IF(NOT DEAL_II_WITH_LAPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_LAPACK = ON diff --git a/examples/step-40/CMakeLists.txt b/examples/step-40/CMakeLists.txt index 6ef492139e..7423e41ec6 100644 --- a/examples/step-40/CMakeLists.txt +++ b/examples/step-40/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT (DEAL_II_WITH_PETSC OR DEAL_II_WITH_TRILINOS) OR NOT DEAL_II_WITH_P4EST OR DEAL_II_PETSC_WITH_COMPLEX) +IF(NOT (DEAL_II_WITH_PETSC OR DEAL_II_WITH_TRILINOS) OR NOT DEAL_II_WITH_P4EST OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_PETSC = ON diff --git a/examples/step-41/CMakeLists.txt b/examples/step-41/CMakeLists.txt index 10e7128fa1..03798d52b5 100644 --- a/examples/step-41/CMakeLists.txt +++ b/examples/step-41/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_TRILINOS) +IF(NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_TRILINOS = ON diff --git a/examples/step-42/CMakeLists.txt b/examples/step-42/CMakeLists.txt index 3e14271cba..1e18a54db3 100644 --- a/examples/step-42/CMakeLists.txt +++ b/examples/step-42/CMakeLists.txt @@ -40,9 +40,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF( NOT DEAL_II_WITH_MPI OR - NOT DEAL_II_WITH_P4EST OR - NOT DEAL_II_WITH_TRILINOS ) +IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_P4EST OR NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_MPI = ON diff --git a/examples/step-43/CMakeLists.txt b/examples/step-43/CMakeLists.txt index 09a02c9a2a..fbc3ecd7e4 100644 --- a/examples/step-43/CMakeLists.txt +++ b/examples/step-43/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_TRILINOS) +IF(NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_TRILINOS = ON diff --git a/examples/step-44/CMakeLists.txt b/examples/step-44/CMakeLists.txt index 1d6d1bf714..0b2cba558d 100644 --- a/examples/step-44/CMakeLists.txt +++ b/examples/step-44/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_CXX11) +IF(NOT DEAL_II_WITH_CXX11) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_CXX11 = ON diff --git a/examples/step-45/CMakeLists.txt b/examples/step-45/CMakeLists.txt index 97f97a0aef..19a0f40750 100644 --- a/examples/step-45/CMakeLists.txt +++ b/examples/step-45/CMakeLists.txt @@ -37,9 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF( NOT DEAL_II_WITH_MPI OR - NOT DEAL_II_WITH_P4EST OR - NOT DEAL_II_WITH_TRILINOS ) +IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_P4EST OR NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_MPI = ON diff --git a/examples/step-46/CMakeLists.txt b/examples/step-46/CMakeLists.txt index 458cbbefda..a95e2f0bbb 100644 --- a/examples/step-46/CMakeLists.txt +++ b/examples/step-46/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON diff --git a/examples/step-50/CMakeLists.txt b/examples/step-50/CMakeLists.txt index 33e568bc75..7e6aaa8cf2 100644 --- a/examples/step-50/CMakeLists.txt +++ b/examples/step-50/CMakeLists.txt @@ -40,9 +40,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF( NOT DEAL_II_WITH_MPI OR - NOT DEAL_II_WITH_P4EST OR - NOT DEAL_II_WITH_TRILINOS ) +IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_P4EST OR NOT DEAL_II_WITH_TRILINOS) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_MPI = ON diff --git a/examples/step-53/CMakeLists.txt b/examples/step-53/CMakeLists.txt index 5064d1c3b1..247cfa93bb 100644 --- a/examples/step-53/CMakeLists.txt +++ b/examples/step-53/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_ZLIB) +IF(NOT DEAL_II_WITH_ZLIB) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_ZLIB = ON diff --git a/examples/step-54/CMakeLists.txt b/examples/step-54/CMakeLists.txt index a044983e4d..03256277a2 100644 --- a/examples/step-54/CMakeLists.txt +++ b/examples/step-54/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_OPENCASCADE) +IF(NOT DEAL_II_WITH_OPENCASCADE) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_OPENCASCADE = ON diff --git a/examples/step-55/CMakeLists.txt b/examples/step-55/CMakeLists.txt index 85e60d1b3b..5dc05596fd 100644 --- a/examples/step-55/CMakeLists.txt +++ b/examples/step-55/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT (DEAL_II_WITH_PETSC OR DEAL_II_WITH_TRILINOS) OR NOT DEAL_II_WITH_P4EST OR DEAL_II_PETSC_WITH_COMPLEX) +IF(NOT (DEAL_II_WITH_PETSC OR DEAL_II_WITH_TRILINOS) OR NOT DEAL_II_WITH_P4EST OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_PETSC = ON diff --git a/examples/step-56/CMakeLists.txt b/examples/step-56/CMakeLists.txt index 837559c57b..840c422e0b 100644 --- a/examples/step-56/CMakeLists.txt +++ b/examples/step-56/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON diff --git a/examples/step-57/CMakeLists.txt b/examples/step-57/CMakeLists.txt index 4cca8afbdd..d8b91e8759 100644 --- a/examples/step-57/CMakeLists.txt +++ b/examples/step-57/CMakeLists.txt @@ -37,7 +37,7 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) +IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line MESSAGE(FATAL_ERROR " Error! The deal.II library found at ${DEAL_II_PATH} was not configured with DEAL_II_WITH_UMFPACK = ON -- 2.39.5