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

Translation unit for the COMLIB build-info entry points declared in com_global.h. More...

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

Go to the source code of this file.

Detailed Description

Translation unit for the COMLIB build-info entry points declared in com_global.h.

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

Provides the three out-of-line definitions of COMLIB::buildDateTime, COMLIB::buildHash and COMLIB::buildHashLong. Each delegates to the equivalent function in UTILSLIB so the actual __DATE__ / __TIME__ / MNE_GIT_HASH_* compile-time strings are owned by a single utility translation unit and the values reported across all mne-cpp libraries stay consistent.

The CMake build re-runs this file whenever any other source under src/libraries/com/ changes (OBJECT_DEPENDS in the parent CMakeLists.txt) so the embedded build timestamp tracks the most recent edit to the library rather than the last full reconfigure.

Definition in file com_global.cpp.