gpgme/lang/cpp/src/gpgmepp_version.h.in

32 lines
1.2 KiB
C
Raw Normal View History

/*gpgmepp_version.h - Version macros for gpgmepp
Copyright (C) 2016, Intevation GmbH
This file is part of GPGME++.
GPGME++ is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
GPGME++ 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 Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with GPGME++; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef GPGMEPP_VERSION_H
#define GPGMEPP_VERSION_H
#define GPGMEPP_VERSION_STRING "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_MICRO@"
#define GPGMEPP_VERSION_MAJOR @VERSION_MAJOR@
#define GPGMEPP_VERSION_MINOR @VERSION_MINOR@
#define GPGMEPP_VERSION_PATCH @VERSION_MICRO@
#define GPGMEPP_VERSION ((@VERSION_MAJOR@<<16)|(@VERSION_MINOR@<<8)|(@VERSION_MICRO@))
#endif