1 // Copyright 2014 Idol Software, Inc.
3 // This file is part of Doctor Dump SDK.
5 // Doctor Dump SDK is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef VERSION_PRODUCTVERSION_HIGH
23 # define VERSION_PRODUCTVERSION_HIGH 1
26 #ifndef VERSION_PRODUCTVERSION_LOW
27 # define VERSION_PRODUCTVERSION_LOW 0
30 #ifndef VERSION_PRODUCTVERSION_BUILD
31 # define VERSION_PRODUCTVERSION_BUILD 0
34 #ifndef VERSION_PRODUCTVERSION_COMPILATION
35 # define VERSION_PRODUCTVERSION_COMPILATION 0
38 #define VERSION_ITOA2(x) #x
39 #define VERSION_ITOA(x) VERSION_ITOA2(x)
41 #define VERSION_PRODUCTVERSION_HIGH_STR VERSION_ITOA(VERSION_PRODUCTVERSION_HIGH)
42 #define VERSION_PRODUCTVERSION_LOW_STR VERSION_ITOA(VERSION_PRODUCTVERSION_LOW)
43 #define VERSION_PRODUCTVERSION_BUILD_STR VERSION_ITOA(VERSION_PRODUCTVERSION_BUILD)
44 #define VERSION_PRODUCTVERSION_COMPILATION_STR VERSION_ITOA(VERSION_PRODUCTVERSION_COMPILATION)
45 #define VERSION_PRODUCTVERSION VERSION_PRODUCTVERSION_HIGH,VERSION_PRODUCTVERSION_LOW,VERSION_PRODUCTVERSION_BUILD,VERSION_PRODUCTVERSION_COMPILATION
46 #define VERSION_PRODUCTVERSION_STR VERSION_PRODUCTVERSION_HIGH_STR "." VERSION_PRODUCTVERSION_LOW_STR "." VERSION_PRODUCTVERSION_BUILD_STR "." VERSION_PRODUCTVERSION_COMPILATION_STR
49 #ifndef VERSION_FILEVERSION_HIGH
50 # define VERSION_FILEVERSION_HIGH VERSION_PRODUCTVERSION_HIGH
53 #ifndef VERSION_FILEVERSION_LOW
54 # define VERSION_FILEVERSION_LOW VERSION_PRODUCTVERSION_LOW
57 #ifndef VERSION_FILEVERSION_BUILD
58 # define VERSION_FILEVERSION_BUILD VERSION_PRODUCTVERSION_BUILD
61 #ifndef VERSION_FILEVERSION_COMPILATION
62 # define VERSION_FILEVERSION_COMPILATION VERSION_PRODUCTVERSION_COMPILATION
65 #define VERSION_FILEVERSION_HIGH_STR VERSION_ITOA(VERSION_FILEVERSION_HIGH)
66 #define VERSION_FILEVERSION_LOW_STR VERSION_ITOA(VERSION_FILEVERSION_LOW)
67 #define VERSION_FILEVERSION_BUILD_STR VERSION_ITOA(VERSION_FILEVERSION_BUILD)
68 #define VERSION_FILEVERSION_COMPILATION_STR VERSION_ITOA(VERSION_FILEVERSION_COMPILATION)
69 #define VERSION_FILEVERSION VERSION_FILEVERSION_HIGH,VERSION_FILEVERSION_LOW,VERSION_FILEVERSION_BUILD,VERSION_FILEVERSION_COMPILATION
70 #define VERSION_FILEVERSION_STR VERSION_FILEVERSION_HIGH_STR "." VERSION_FILEVERSION_LOW_STR "." VERSION_FILEVERSION_BUILD_STR "." VERSION_FILEVERSION_COMPILATION_STR
73 #ifndef VERSION_COMPANYNAME_STR
74 # define VERSION_COMPANYNAME_STR "Idol Software"
78 // if pass APSTUDIO_INVOKED version resource appeats in .rc file
79 #if defined(RC_INVOKED) && !defined(APSTUDIO_INVOKED)
80 # include "version.rc"