]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Update documentation
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 16:15:49 +0000 (16:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Oct 2012 16:15:49 +0000 (16:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26971 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/README.CMAKE

index 2753f246a30e5657974615dc887c286e176ba489..00ffbe4aa614aa5925d91b6ef9523a82133ad6da 100644 (file)
@@ -505,16 +505,19 @@ How to use deal.II in your cmake project
       will be set and not the one determined in PROJECT(...)will be set
       and not the one determined in PROJECT(...)
 
+    - Import the deal.II library as an external target:
+
+        IMPORT(${DEAL_II_TARGET_CONFIG})
+
     - After defining your targets, e.g.
 
         ADD_EXECUTABLE(step-1 step-1.cc)
 
-      we have to specify to link against deal.II and all external
-      libraries:
+      we have to specify to link against deal.II (and transitively all
+      external libraries):
 
         TARGET_LINK_LIBRARIES(step-1
-            ${DEAL_II_LIBRARIES}
-            ${DEAL_II_EXTERNAL_LIBRARIES}
+            ${DEAL_II_TARGET_DEBUG}  # or DEAL_II_TARGET_RELEASE
           )
 
      - As well as using some preprocessor definitions:

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.