The SKIRT project
advanced radiative transfer for astrophysics
Static Public Member Functions | List of all members
BuildInfo Class Referencefinal

#include <BuildInfo.hpp>

Static Public Member Functions

static string codeVersion ()
 
static string projectVersion ()
 
static string timestamp ()
 

Detailed Description

This class provides information about the current build, such as the build time. This information is provided to the source code at build time by CMake.

Member Function Documentation

◆ codeVersion()

static string BuildInfo::codeVersion ( )
static

Returns a description of the code version from which this executable was built, e.g. the git commit hash.

◆ projectVersion()

static string BuildInfo::projectVersion ( )
static

Returns the version string configured by CMake.

◆ timestamp()

static string BuildInfo::timestamp ( )
static

Returns the time of current build as a string formatted for human consumption.


The documentation for this class was generated from the following file: