- Download of the master release HiFlow3:
Download the source version from the gitlab server:
See snapshot below (bottom right button)
- Create a projects directory, unpack the HiFlow3 tarball:
$> mkdir -p /path/to/projects $> mv HiFlow3.tar.gz /path/to/projects/ $> cd /path/to/projects $> tar -zxf HiFlow3.tar.gz
- Create a build directory and run cmake (using ccmake in this case):
$> mkdir -p HiFlow3/build $> cd HiFlow3/build $> ccmake ../
- Set appropriate cmake options:
- Set CMAKE_BUILD_TYPE to “Debug” or “Release”. Debug mode executes a lot of assertions in the code which are skipped in release mode. The release mode is much faster than debug mode.
- Set CMAKE_INSTALL_PREFIX to the path where the HiFlow3 library and headers shall be installed.
- Set the other options as appropriate.
Configure and generate the makefiles:
Press ‘c’ to configure, possibly repeat the configuration until all dependencies have been resolved, than press ‘g’ to generate the makefiles.
Compile and install:
$> make $> [optional] make test $> [optional] make doxygen $> [optional] make install
Assuming that "make install" has been executed:
CMAKE_INSTALL_PREFIX/lib should contain libhiflow.a
CMAKE_INSTALL_PREFIX/include/hiflow3 should contain the headers
Assuming that "make doxygen" has been executed:
The documentation files are located in <HIFLOWDIR_BUILD>/doc/doxygen/html and you might open the index.html or hierarchy.html files.
CMAKE_INSTALL_PREFIX/share/hiflow3/doc should contain the doxygen documentation