GooseEYE 0.9.1
Loading...
Searching...
No Matches
version.h File Reference
#include "config.h"
#include "version.hpp"

Go to the source code of this file.

Namespaces

namespace  GooseEYE
 Toolbox to compute statistics.
 

Macros

#define GOOSEEYE_VERSION   "@PROJECT_VERSION@"
 Current version.
 

Functions

std::string GooseEYE::version ()
 Return version string, e.g.
 

Detailed Description

License: This project is released under the GPLv3 License.

Definition in file version.h.

Macro Definition Documentation

◆ GOOSEEYE_VERSION

#define GOOSEEYE_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::
    MYVERSION=`python -c "from setuptools_scm import get_version; print(get_version())"`
    -DGOOSEEYE_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.

Definition at line 33 of file version.h.