GMatElastic 0.5.3
|
Go to the source code of this file.
Namespaces | |
namespace | GMatElastic |
Linear elastic material model. | |
Macros | |
#define | GMATELASTIC_VERSION "@PROJECT_VERSION@" |
Current version. More... | |
Functions | |
std::string | GMatElastic::version () |
Return version string, e.g. More... | |
std::vector< std::string > | GMatElastic::version_dependencies () |
Return versions of this library and of all of its dependencies. More... | |
Definition in file version.h.
#define GMATELASTIC_VERSION "@PROJECT_VERSION@" |
Current version.
Either:
python -c "from setuptools_scm import get_version; print(get_version())"
-DGMATELASTIC_VERSION="`python -c "from setuptools_scm import get_version;print(get_version())"`"
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.