]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
An example CMakeLists.txt file for a user project
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2012 16:37:34 +0000 (16:37 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2012 16:37:34 +0000 (16:37 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26756 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-1/CMakeLists.txt [new file with mode: 0644]

diff --git a/deal.II/examples/step-1/CMakeLists.txt b/deal.II/examples/step-1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c7bb139
--- /dev/null
@@ -0,0 +1,15 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+
+FIND_PACKAGE(deal.II CONFIG REQUIRED
+  HINTS
+    "../../"
+  )
+
+DEAL_II_INITIALIZE_CACHED_VARIABLES()
+
+PROJECT(step-1)
+
+ADD_EXECUTABLE(step-1 step-1.cc)
+
+DEAL_II_SETUP_TARGET(step-1)
+

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.