mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-01 04:00:54 +03:00
bfc7ea562d
Now that csync builds as C++, this will avoid having to implement functionalities needed by csync mandatorily in csync itself. This library is built as part of libocsync and symbols exported through it. This requires a relicense of Utility as LGPL. All classes moved into this library from src/libsync will need to be relicensed as well.
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* 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
|
|
|
|
#cmakedefine GIT_SHA1 "@GIT_SHA1@"
|
|
|
|
#define MIRALL_STRINGIFY(s) MIRALL_TOSTRING(s)
|
|
#define MIRALL_TOSTRING(s) #s
|
|
|
|
/* 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@
|
|
|
|
#define MIRALL_VERSION @MIRALL_VERSION@
|
|
#define MIRALL_VERSION_FULL @MIRALL_VERSION_FULL@
|
|
|
|
#define MIRALL_VERSION_STRING "@MIRALL_VERSION_STRING@"
|
|
|
|
#endif // VERSION_H
|