From d923f36b4891b0b6d1951143f5d378891d413d4d Mon Sep 17 00:00:00 2001
From: maier
- Just like with simple
+ While developing on the library itself it is often desirable
+ to only compile certain parts. The build system generated by
+
+
+ Enable configuration and installation of programs
+ in
+
+ Enable legacy directory structure and the installation of
+ compatibility files and tools for the old build system. This
+ adds a component
+
+ Enable configuration, build and installation of the
+ documentation. This adds a component
+
+ Enable configuration and installation of the example steps.
+ This adds a component make
, cmake
- allows to build only selected targets. The difference is that
- it's not quite so easy any more what the names of these targets
- are. The most 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:
- TODO: This is a bit misleading, as make install
- always implies make all
.
+ 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.
+ 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:
make deal_II.g # only debug library
@@ -416,27 +420,50 @@
DEAL_II_COMPONENT_CONTRIB
:
- Enable configuration and installation of programs
- in contrib/
. This adds a component
- contrib
to the build system.
+ DEAL_II_COMPONENT_CONTRIB
(default
+ OFF
):
+ contrib/
. This adds a component
+ contrib
to the build system.
+ Beware of the fact that contrib
needs
+ development packages for Qt.
+ DEAL_II_COMPONENT_COMPAT_FILES
:
- Enable installation of legacy files and tools for
- compatibility with the old build system This adds a component
- compat_files
to the build system.
+ DEAL_II_COMPONENT_COMPAT_FILES
+ (default ON
):
+ compat_files
to the build
+ system.
+ DEAL_II_COMPONENT_DOCUMENTATION
:
- Enable configuration, build and installation of the
- documentation. This adds a component documentation
- to the build system.
+ DEAL_II_COMPONENT_DOCUMENTATION
+ (default OFF
):
+ documentation
+ to the build system.
+ DEAL_II_COMPONENT_EXAMPLES
:
- Enable configuration and installation of the example steps.
- This adds a component examples
to the build system.
+ DEAL_II_COMPONENT_EXAMPLES
+ (default ON
):
+ examples
to the build system.
+
DebugRelease
target.
Debug
will compile a debug library
- libdeal_II.g.so
+ Debug
will configure, build and install a debug
+ library libdeal_II.g.so
Release
will build an optimized
+ Release
will do the same for an optimized library
libdeal_II.so
.
DebugRelease
will build both libraries
+ DebugRelease
will configure, build and install
+ both libraries
+ For more information, see the general discussion found here.
diff --git a/deal.II/doc/readme.html b/deal.II/doc/readme.html index e791aecbc2..001e1d130f 100644 --- a/deal.II/doc/readme.html +++ b/deal.II/doc/readme.html @@ -223,17 +223,17 @@Note:
/path/install/dir
is the directory where you want to
- install the deal.II header files and libraries to. This can be a
- directory in your home directory (e.g., ~/bin/deal.II
) or a
- directory such as /usr/local
if you have root privileges.
+ /path/install/dir
is the directory which deal.II
+ should be installed into. This can be a directory in your home
+ directory (e.g., ~/bin/deal.II
) or a directory
+ such as /usr/local
if you have root privileges.
make
- -jN
in the last two steps where N
is the
+ -jN in the last two steps, where N
is the
number of simultaneous build processes you want make
to use at any given time. Allowing make
to use
more simultaneous build processes (assuming you have that many
- processor cores) will greatly accelerate building the library.
+ processor cores) will greatly accelerate the build time.