GMatTensor 0.10.6
Loading...
Searching...
No Matches
version.h File Reference
#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...
 

Detailed Description

License: This project is released under the MIT License.

Definition in file version.h.

Macro Definition Documentation

◆ GMATTENSOR_VERSION

#define GMATTENSOR_VERSION   "@PROJECT_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::
    -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.

Definition at line 33 of file version.h.