LameXP/src/Config.h

77 lines
3.3 KiB
C
Raw Normal View History

///////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
2017-03-12 12:12:49 +01:00
// Copyright (C) 2004-2017 LoRd_MuldeR <MuldeR2@GMX.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
2013-10-23 20:56:57 +02:00
// (at your option) any later version, but always including the *additional*
// restrictions defined in the "License.txt" file.
//
// 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 General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// http://www.gnu.org/licenses/gpl-2.0.txt
///////////////////////////////////////////////////////////////////////////////
2011-04-14 01:40:11 +02:00
#pragma once
#ifndef LAMEXP_INC_CONFIG
#error Please do *not* include CONFIG.H directly!
#endif
2011-04-14 01:40:11 +02:00
///////////////////////////////////////////////////////////////////////////////
// LameXP Version Info
///////////////////////////////////////////////////////////////////////////////
#define VER_LAMEXP_MAJOR 4
2014-02-08 17:23:44 +01:00
#define VER_LAMEXP_MINOR_HI 1
2017-06-11 13:35:25 +02:00
#define VER_LAMEXP_MINOR_LO 6
2017-12-04 23:31:31 +01:00
#define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 2
2017-12-15 21:04:28 +01:00
#define VER_LAMEXP_BUILD 2077
2017-05-31 20:59:05 +02:00
#define VER_LAMEXP_CONFG 2002
2011-04-14 01:40:11 +02:00
///////////////////////////////////////////////////////////////////////////////
// LameXP Build Options
///////////////////////////////////////////////////////////////////////////////
#define VER_LAMEXP_PORTABLE_EDITION 0
#define VER_LAMEXP_CONSOLE_ENABLED 0
2011-04-14 01:40:11 +02:00
///////////////////////////////////////////////////////////////////////////////
// Tool versions (minimum expected versions!)
2011-04-14 01:40:11 +02:00
///////////////////////////////////////////////////////////////////////////////
2017-12-11 20:45:45 +01:00
#define VER_LAMEXP_TOOL_NEROAAC 1540
#define VER_LAMEXP_TOOL_FHGAACENC 20151024
#define VER_LAMEXP_TOOL_FDKAACENC 62
2017-12-15 21:04:28 +01:00
#define VER_LAMEXP_TOOL_QAAC 264
2011-04-14 01:40:11 +02:00
///////////////////////////////////////////////////////////////////////////////
// Helper macros (aka: having fun with the C pre-processor)
///////////////////////////////////////////////////////////////////////////////
#define VER_LAMEXP_SUFFIX_HLP1(X,Y) X-Y
#define VER_LAMEXP_SUFFIX_HLP2(X,Y) VER_LAMEXP_SUFFIX_HLP1(X,Y)
#define VER_LAMEXP_SUFFIX VER_LAMEXP_SUFFIX_HLP2(VER_LAMEXP_TYPE, VER_LAMEXP_PATCH)
#define VER_LAMEXP_STR_HLP1(X) #X
#define VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP1(v##U.V##W Y; Build X; Z)
#define VER_LAMEXP_STR_HLP3(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z)
#define VER_LAMEXP_STR VER_LAMEXP_STR_HLP3(VER_LAMEXP_MAJOR,VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO,VER_LAMEXP_BUILD,VER_LAMEXP_SUFFIX,_CONFIG_NAME)
#define VER_LAMEXP_RNAME_HLP1(X) #X
#define VER_LAMEXP_RNAME_HLP2(X) VER_LAMEXP_RNAME_HLP1(X)
#define VER_LAMEXP_RNAME VER_LAMEXP_RNAME_HLP2(VER_LAMEXP_SUFFIX)
#define VER_LAMEXP_MINOR_HLP1(X,Y) X##Y
#define VER_LAMEXP_MINOR_HLP2(X,Y) VER_LAMEXP_MINOR_HLP1(X,Y)
#define VER_LAMEXP_MINOR VER_LAMEXP_MINOR_HLP2(VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO)