mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Reduce the amount of rebuild needed after a git commit
Since GIT_SHA1 would need to be updated in config.h, all files including it would be rebuilt by make. Reduce the number of files to rebuild by moving this variable to version.h instead.
This commit is contained in:
parent
db38bf4a0c
commit
a4f519eaeb
4 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,6 @@
|
|||
#cmakedefine CRASHREPORTER_EXECUTABLE "@CRASHREPORTER_EXECUTABLE@"
|
||||
|
||||
|
||||
#cmakedefine GIT_SHA1 "@GIT_SHA1@"
|
||||
#cmakedefine APPLICATION_DOMAIN @APPLICATION_DOMAIN@
|
||||
#cmakedefine THEME_CLASS @THEME_CLASS@
|
||||
#cmakedefine THEME_INCLUDE @THEME_INCLUDE@
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "theme.h"
|
||||
#include "netrcparser.h"
|
||||
|
||||
#include "version.h"
|
||||
#include "config.h"
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
*/
|
||||
|
||||
#include "theme.h"
|
||||
#include "version.h"
|
||||
#include "configfile.h"
|
||||
#include "utility.h"
|
||||
#include "accessmanager.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
|
||||
#cmakedefine GIT_SHA1 "@GIT_SHA1@"
|
||||
|
||||
#define MIRALL_STRINGIFY(s) MIRALL_TOSTRING(s)
|
||||
#define MIRALL_TOSTRING(s) #s
|
||||
|
||||
|
|
Loading…
Reference in a new issue