From: bangerth Date: Sun, 11 Nov 2012 15:31:00 +0000 (+0000) Subject: Minor edits. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b1587f9006589e6e685ac1a09afbcadcccc5fc;p=dealii-svn.git Minor edits. git-svn-id: https://svn.dealii.org/branches/branch_cmake@27504 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/development/cmake.html b/deal.II/doc/development/cmake.html index ff5c7d85c7..04a7ed7505 100644 --- a/deal.II/doc/development/cmake.html +++ b/deal.II/doc/development/cmake.html @@ -147,15 +147,9 @@

- If you want to configure, build and install only the debug - or optimized variant of the deal.II library, - have a look at the discussion of CMAKE_BUILD_TYPE - found here. -

- While developing on the library itself it is often desirable + While developing the library itself it is often desirable to only compile certain parts. The build system generated by cmake allows to build specific, selected targets. - A common scenario is that you only want to build debug or optimized libraries. This can be achieved using the following commands in the build directory: @@ -191,6 +185,16 @@ from anywhere within the build directory.

+

+ Note: Just because you can call make deal_II.g to + only compile the debug version does not mean that a + subsequent make install will only install the debug + library. Rather, make install will still want to have both + libraries up to date and will therefore invoke make all + automatically. To restrict builds in such a way that only one library + will be installed, see this section. +

+

Fine tuning the configuration system

@@ -472,25 +476,32 @@

Build configuration

+ As explained in this section above, one can + limit make to building only a subset of the usual + libraries. However, this does not restrict the set of things that need + to be built so that make install can install them. Rather, + the cmake variable CMAKE_BUILD_TYPE controls the type of build. We support the Debug, Release and DebugRelease build targets. Default is the DebugRelease target.

-

-

- For more information, see the general discussion found - here. + For more information on what these targets represent, see the general + discussion here.

@@ -815,7 +826,7 @@ For an advanced setup in a big CMake project deal.IIConfig.cmake provides information about the deal.II - installation with traditional variables, see + installation with traditional variables, see here, as well as external CMake targets with link interface for direct inclusion: