From 0784baddd1392727289a972b8374b3c2dca940a9 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 13 Aug 2018 16:03:54 +0000 Subject: Clarify installation, utilities and examples generation Add a link to the Hello GUDHI World project git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3776 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: bb4dea879baac0280b38ee7ab9f466e0c090a38c --- src/common/doc/installation.h | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/doc/installation.h b/src/common/doc/installation.h index 12407c18..c27e4f56 100644 --- a/src/common/doc/installation.h +++ b/src/common/doc/installation.h @@ -2,22 +2,34 @@ * \tableofcontents * As GUDHI is a header only library, there is no need to install the library. * - * Examples of GUDHI headers inclusion can be found in \ref demos. + * Examples of GUDHI headers inclusion can be found in \ref utilities. * * \section compiling Compiling * The library uses c++11 and requires Boost ≥ 1.48.0 * and CMake ≥ 3.1. * It is a multi-platform library and compiles on Linux, Mac OSX and Visual Studio 2015. * - * \subsection demos Demos and examples - * To build the demos and examples, run the following commands in a terminal: + * \subsection utilities Utilities and examples + * To build the utilities, run the following commands in a terminal: \verbatim cd /path-to-gudhi/ mkdir build cd build/ cmake .. make \endverbatim - * A list of examples is available here. + * By default, examples are disabled. You can activate their compilation with + * ccmake (on Linux and Mac OSX), + * cmake-gui (on Windows) or y mofifying the + * cmake command as follows : +\verbatim cmake -DWITH_GUDHI_EXAMPLE=ON .. +make \endverbatim + * A list of utilities and examples is available here. * + * \subsection libraryinstallation Installation + * To install the library (headers and activated utilities), run the following command in a terminal: + * \verbatim make install \endverbatim + * This action may require to be in the sudoer or administrator of the machine in function of the operating system and + * of CMAKE_INSTALL_PREFIX. + * * \subsection testsuites Test suites * To test your build, run the following command in a terminal: * \verbatim make test \endverbatim @@ -30,6 +42,10 @@ make doxygen # Documentation will be generated in the folder YYYY-MM-DD-hh-mm-ss_GUDHI_X.Y.Z/doc/html/ # You can customize the directory name by calling `cmake -DUSER_VERSION_DIR=/my/custom/folder` \endverbatim + * + * \subsection helloworld Hello world ! + * The Hello world for GUDHI + * project is an example to help developers to make their own C++ project on top of the GUDHI library. * * \section optionallibrary Optional third-party library * \subsection gmp GMP -- cgit v1.2.3