Bump version.
[LameXP.git] / src / Config.h
blob7998b392a2957dd9c2197236fd2d755b00fcc772
1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version, but always including the *additional*
9 // restrictions defined in the "License.txt" file.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this program; if not, write to the Free Software Foundation, Inc.,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 // http://www.gnu.org/licenses/gpl-2.0.txt
21 ///////////////////////////////////////////////////////////////////////////////
23 #pragma once
25 #ifndef LAMEXP_INC_CONFIG
26 #error Please do *not* include CONFIG.H directly!
27 #endif
29 ///////////////////////////////////////////////////////////////////////////////
30 // LameXP Version Info
31 ///////////////////////////////////////////////////////////////////////////////
33 #define VER_LAMEXP_MAJOR 4
34 #define VER_LAMEXP_MINOR_HI 1
35 #define VER_LAMEXP_MINOR_LO 3
36 #define VER_LAMEXP_TYPE Final
37 #define VER_LAMEXP_PATCH 1
38 #define VER_LAMEXP_BUILD 1852
39 #define VER_LAMEXP_CONFG 1818
41 ///////////////////////////////////////////////////////////////////////////////
42 // LameXP Build Options
43 ///////////////////////////////////////////////////////////////////////////////
45 #define VER_LAMEXP_PORTABLE_EDITION 0
46 #define VER_LAMEXP_CONSOLE_ENABLED 0
48 ///////////////////////////////////////////////////////////////////////////////
49 // Tool versions (minimum expected versions!)
50 ///////////////////////////////////////////////////////////////////////////////
52 #define VER_LAMEXP_TOOL_NEROAAC 1540
53 #define VER_LAMEXP_TOOL_FHGAACENC 20120806
54 #define VER_LAMEXP_TOOL_FDKAACENC 62
55 #define VER_LAMEXP_TOOL_QAAC 244
56 #define VER_LAMEXP_TOOL_COREAUDIO 7980
58 ///////////////////////////////////////////////////////////////////////////////
59 // Helper macros (aka: having fun with the C pre-processor)
60 ///////////////////////////////////////////////////////////////////////////////
62 #define VER_LAMEXP_SUFFIX_HLP1(X,Y) X-Y
63 #define VER_LAMEXP_SUFFIX_HLP2(X,Y) VER_LAMEXP_SUFFIX_HLP1(X,Y)
64 #define VER_LAMEXP_SUFFIX VER_LAMEXP_SUFFIX_HLP2(VER_LAMEXP_TYPE, VER_LAMEXP_PATCH)
66 #define VER_LAMEXP_STR_HLP1(X) #X
67 #define VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP1(v##U.V##W Y; Build X; Z)
68 #define VER_LAMEXP_STR_HLP3(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z)
69 #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)
71 #define VER_LAMEXP_RNAME_HLP1(X) #X
72 #define VER_LAMEXP_RNAME_HLP2(X) VER_LAMEXP_RNAME_HLP1(X)
73 #define VER_LAMEXP_RNAME VER_LAMEXP_RNAME_HLP2(VER_LAMEXP_SUFFIX)
75 #define VER_LAMEXP_MINOR_HLP1(X,Y) X##Y
76 #define VER_LAMEXP_MINOR_HLP2(X,Y) VER_LAMEXP_MINOR_HLP1(X,Y)
77 #define VER_LAMEXP_MINOR VER_LAMEXP_MINOR_HLP2(VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO)