lyx_mirror/src/lyx_commit_hash.h.in
Jean-Marc Lasgouttes 0b09424017 Autotools: read git commit hash at compile time
Also do as cmake to avoid full recompilation when the hash changes.
2014-11-24 22:00:21 +01:00

17 lines
345 B
C

/*
* \file lyx_commit_hash.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* If LyX is compiled from a git clone, this should contain the HEAD
* commit hash.
*/
#ifndef _LYX_COMMIT_HASH_H
#define _LYX_COMMIT_HASH_H
#define LYX_GIT_COMMIT_HASH "@LYX_GIT_COMMIT_HASH@"
#endif