GooseEPM v0.11.0
|
Go to the source code of this file.
Namespaces | |
namespace | GooseEPM |
Elasto-plastic model. | |
Macros | |
#define | GOOSEEPM_VERSION "@PROJECT_VERSION@" |
Current version. | |
Functions | |
std::string | GooseEPM::version () |
Version string (for example "0.8.0" ). | |
std::vector< std::string > | GooseEPM::version_dependencies () |
Versions of this library and of all of its dependencies. | |
std::vector< std::string > | GooseEPM::version_compiler () |
Information on the compiler, the platform, the C++ standard, and the compilation date. | |
Definition in file version.h.
#define GOOSEEPM_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())"` -DGOOSEEPM_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.