GMatElastic 0.5.3
Loading...
Searching...
No Matches
version.h File Reference
#include "config.h"
#include <GMatTensor/version.h>

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...
 

Detailed Description

License: This project is released under the MIT License.

Definition in file version.h.

Macro Definition Documentation

◆ GMATELASTIC_VERSION

#define GMATELASTIC_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::
    -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.

Definition at line 34 of file version.h.