GMatTensor 0.10.6
|
#include "config.h"
Go to the source code of this file.
Namespaces | |
namespace | GMatTensor |
Tensor products / operations. | |
Macros | |
#define | GMATTENSOR_VERSION "@PROJECT_VERSION@" |
Current version. More... | |
Functions | |
std::string | GMatTensor::version () |
Return version string, e.g. More... | |
std::vector< std::string > | GMatTensor::version_dependencies (bool greedy=true) |
Return versions of this library and of all of its major dependencies. More... | |
std::vector< std::string > | GMatTensor::version_compiler () |
Return information on the compiler, the platform, the C++ standard, and the compilation data. More... | |
Definition in file version.h.
#define GMATTENSOR_VERSION "@PROJECT_VERSION@" |
Current version.
Either:
python -c "from setuptools_scm import get_version; print(get_version())"
-DGMATTENSOR_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.