GooseFEM 1.4.1.dev2+g78f16df
|
Version information. More...
#include "config.h"
Go to the source code of this file.
Namespaces | |
namespace | GooseFEM |
Toolbox to perform finite element computations. | |
Macros | |
#define | GOOSEFEM_VERSION "@PROJECT_VERSION@" |
Current version. | |
Functions | |
std::string | GooseFEM::version () |
Return version string, e.g. | |
std::vector< std::string > | GooseFEM::version_dependencies () |
Return versions of this library and of all of its dependencies. | |
Version information.
Definition in file version.h.
#define GOOSEFEM_VERSION "@PROJECT_VERSION@" |
Current version.
Either:
python -c "from setuptools_scm import get_version; print(get_version())"
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.