From: maier Date: Fri, 5 Oct 2012 16:15:49 +0000 (+0000) Subject: Update documentation X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0c601f4846d0ce44ec31f174dd27940520b4c58;p=dealii-svn.git Update documentation git-svn-id: https://svn.dealii.org/branches/branch_cmake@26971 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/README.CMAKE b/deal.II/README.CMAKE index 2753f246a3..00ffbe4aa6 100644 --- a/deal.II/README.CMAKE +++ b/deal.II/README.CMAKE @@ -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: