mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-30 15:41:12 +00:00
81afd10fc7
1.) The only file which needs this define is src/version.cpp. Our use in config.h resulted in recompiling most of our sources. With this change, only version.cpp needs to be recompiled. 2.) Without reconfiguring, the old commit hash was still valid. Now the detection of commit hash is done at compile time.
19 lines
446 B
CMake
19 lines
446 B
CMake
/*
|
|
* \file lyx_commit_hash.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* This is the compilation configuration file for LyX.
|
|
* It was generated by cmake.
|
|
* You might want to change some of the defaults if something goes wrong
|
|
* during the compilation.
|
|
*/
|
|
|
|
#ifndef _LYX_COMMIT_HASH_H
|
|
#define _LYX_COMMIT_HASH_H
|
|
|
|
#define LYX_GIT_COMMIT_HASH "${LYX_GIT_COMMIT_HASH}"
|
|
|
|
#endif
|
|
|