]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
A minimalistic example of a user CMakeLists.txt
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Oct 2012 15:28:06 +0000 (15:28 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Oct 2012 15:28:06 +0000 (15:28 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27184 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-2/CMakeLists.txt

index 0c3c0a53a69d6130cd96c37d7b0f5df6df7d8781..b68f6b4ddff33418212533c4dc92efd8560e7145 100644 (file)
@@ -1,11 +1,14 @@
+#
+# A minimalistic CMakeLists.txt example for a small project using the
+# deal.II library:
+#
+
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
 
 FIND_PACKAGE(deal.II 8.0 REQUIRED
   HINTS
-    "../../"
-    "../../../../../"
-    $ENV{DEAL_DIR}
-    $ENV{DEAL_II_DIR}
+    ../ ../../ ../../../ ../../../../../
+    $ENV{DEAL_II_DIR} $ENV{DEAL_DIR}
   )
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
 
@@ -14,10 +17,3 @@ PROJECT(step-2)
 ADD_EXECUTABLE(step-2 step-2.cc)
 DEAL_II_SETUP_TARGET(step-2)
 
-ADD_CUSTOM_TARGET(run
-  COMMAND step-2
-  )
-ADD_CUSTOM_TARGET(distclean
-  COMMAND make clean
-  COMMAND rm -f *gmv *gnuplot *gpl *eps *pov *vtk *ucd *.d2
-  )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.