File version.h#

Version information.

Copyright

Copyright 2017. Tom de Geus. All rights reserved.

License: This project is released under the GNU Public License (GPLv3).

Defines

GOOSEFEM_VERSION#

Current version.

Either:

  • Configure using CMake at install time. Internally uses::

     python -c "from setuptools_scm import get_version; print(get_version())"
    

  • Define externally using::

     MYVERSION=`python -c "from setuptools_scm import get_version; print(get_version())"`
     -DGOOSEFEM_VERSION="$MYVERSION"
    
    From the root of this project. This is what setup.py does.

Note that both CMakeLists.txt and setup.py will construct the version using setuptools_scm. Tip: use the environment variable SETUPTOOLS_SCM_PRETEND_VERSION to overwrite the automatic version.

namespace GooseFEM

Toolbox to perform finite element computations.

Functions

inline std::string version()#

Return version string, e.g.

"0.8.0"

Returns

String.

inline std::vector<std::string> version_dependencies()#

Return versions of this library and of all of its dependencies.

The output is a list of strings, e.g.::

 "goosefem=0.7.0",
 "xtensor=0.20.1"
 ...

Returns

List of strings.