Eventually, some configuration flags control the general result of the compilation or some developers extensions:
BUILD_TESTING is a conventional variable (which is not a cmake
internal variable) which specifies that the regression tests should also be
compiled.
BUILD_SHARED_LIBS is a cmake internal variable which
specifies whether the libraries should be dynamics as opposed to
static (on Mac system this option is automatically set to ON,
as static compilation of binaries seems to be forbidden on these
systems)
Maintainer By default cmake offers four different build modes
that one toggles by positioning CMAKE_BUILD_TYPE built-in
variable (to Debug, Release, RelWithDebInfo and
MinSizeRel). Maintainer is an additional mode which
fulfills two basic needs of the task of the maintainer of DIET. The
first preventive task is to provide code free from any compilation
and link warnings. The second corresponds to the snafu stage which
is to debug the code. For reaching those goals the Maintainer
build type sets the compilers flags, respectively the linker flags,
with all the possible warning flags activated, resp. with the
additional debug flags.
${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX},
${CMAKE_INSTALL_PREFIX}/bin, ${CMAKE_INSTALL_PREFIX}/include,
${CMAKE_INSTALL_PREFIX}/share/cmake/Modules. They can independently be
set up using the following variables LIB_INSTALL_DIR,
BIN_INSTALL_DIR, INSTALL_INSTALL_DIR and
CMAKE_MOD_INSTALL_DIR. You can set those on the command line when
calling cmake or ccmake, for example cmake .. -DLIB_INSTALL_DIR=${HOME}/lib.
The DIET Team - Mer 29 nov 2017 15:13:36 EST