#pragma once

// STAMP is this file's own compile time, so it only stays honest while the including TU is rebuilt
// — true on wasm, where the build dir is wiped every run, but not on an incremental Gradle build.
// Only platforms that ship an installed artifact you cannot otherwise identify carry it.
//
// Direction: a build script should own this file — touching it to force the recompile, or
// generating it outright with a revision and version code.

class crBuildInfo
{
public:
#if defined( __EMSCRIPTEN__ ) || defined( __ANDROID__ )
    static constexpr const char* STAMP = __DATE__ " " __TIME__;
#else
    static constexpr const char* STAMP = "---";
#endif
};
