Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-10-28 18:05:03 +0300
committerHannah von Reth <vonreth@kde.org>2021-10-28 19:14:15 +0300
commit8b743376b1d230b76558703dfa70c289c64b464c (patch)
tree9bedb0039fbb89814cecda0e6881ee7eb2d666c9 /version.h.in
parent29fda71b87b4b4291dd9a61c6d19508a6ab69f5a (diff)
Remove version defines
Moving the generated values to a cpp means that we won't need to recompile all files including the version.h
Diffstat (limited to 'version.h.in')
-rw-r--r--version.h.in42
1 files changed, 0 insertions, 42 deletions
diff --git a/version.h.in b/version.h.in
deleted file mode 100644
index 0a55a011d..000000000
--- a/version.h.in
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) by Klaas Freitag <freitag@owncloud.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef VERSION_H
-#define VERSION_H
-
-#include <QString>
-// TODO: use namespace and functions
-#cmakedefine GIT_SHA1 "@GIT_SHA1@"
-
-/* MIRALL version */
-#define MIRALL_VERSION_MAJOR @MIRALL_VERSION_MAJOR@
-#define MIRALL_VERSION_MINOR @MIRALL_VERSION_MINOR@
-#define MIRALL_VERSION_PATCH @MIRALL_VERSION_PATCH@
-#define MIRALL_VERSION_BUILD @MIRALL_VERSION_BUILD@
-
-inline auto MIRALL_VERSION_SUFFIX() {
- return QStringLiteral("@MIRALL_VERSION_SUFFIX@");
-}
-
-inline auto MIRALL_VERSION_FULL() {
- return QStringLiteral("@MIRALL_VERSION_FULL@");
-}
-
-#define MIRALL_VERSION_STRING "@MIRALL_VERSION_STRING@"
-
-#endif // VERSION_H