mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +00:00
0b09424017
Also do as cmake to avoid full recompilation when the hash changes.
17 lines
345 B
C
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
|
|
|