v2.0.0
Loading...
Searching...
No Matches
math_global.cpp File Reference

Thin forwarders that surface UTILSLIB build-info into MATHLIB. More...

#include "math_global.h"
Include dependency graph for math_global.cpp:

Go to the source code of this file.

Detailed Description

Thin forwarders that surface UTILSLIB build-info into MATHLIB.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

The three accessors declared in math_global.h simply delegate to the equivalent helpers in UTILSLIB::buildinfo so that every mne-cpp library exposes the same build-stamp API surface without duplicating the __DATE__ / __TIME__ macros or having to know how the CMake git-hash injection works. Keeping the implementation in a separate translation unit also pins the build stamp to the moment MATHLIB itself was compiled, not to whichever client first includes math_global.h.

Definition in file math_global.cpp.