You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.3 KiB

/*---------------------------------------------------------------------------*\
FILE........: version.h
AUTHOR......: Tomas Härdin
DATE CREATED: 03 November 2017
Codec 2 VERSION #defines
\*---------------------------------------------------------------------------*/
/*
Copyright (C) 2017 Tomas Härdin
All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 2.1, as
published by the Free Software Foundation. This program 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 General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
//this functions both as an include guard and your typical HAVE macro
#ifndef CODEC2_HAVE_VERSION
#define CODEC2_HAVE_VERSION
#define CODEC2_VERSION_MAJOR @CODEC2_VERSION_MAJOR@
#define CODEC2_VERSION_MINOR @CODEC2_VERSION_MINOR@
#cmakedefine CODEC2_VERSION_PATCH @CODEC2_VERSION_PATCH@
#define CODEC2_VERSION "@CODEC2_VERSION@"
#endif //CODEC2_HAVE_VERSION