16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
19 #pragma once |
19 #pragma once |
20 |
20 |
21 // |
|
22 // Application name |
|
23 // |
|
24 #define APPNAME "LDForge" |
21 #define APPNAME "LDForge" |
25 #define UNIXNAME "ldforge" |
22 #define UNIXNAME "ldforge" |
26 |
23 |
27 // |
24 #define MACRO_TO_STRING(X) MACRO_TO_STRING_2(X) |
28 // Version number |
25 #define MACRO_TO_STRING_2(X) #X |
29 // |
26 |
30 #define VERSION_MAJOR 0 |
27 #define VERSION_MAJOR 0 |
31 #define VERSION_MINOR 4 |
28 #define VERSION_MINOR 4 |
32 #define VERSION_PATCH 0 |
29 #define VERSION_PATCH 0 |
|
30 |
|
31 #define VERSION_MAJOR_MINOR_STRING MACRO_TO_STRING (VERSION_MAJOR) "." MACRO_TO_STRING (VERSION_MINOR) |
|
32 |
|
33 #if VERSION_PATCH == 0 |
|
34 # define VERSION_STRING VERSION_MAJOR_MINOR_STRING |
|
35 #else |
|
36 # define VERSION_STRING VERSION_MAJOR_MINOR_STRING "." MACRO_TO_STRING (VERSION_PATCH) |
|
37 #endif |
33 |
38 |
34 // |
39 // |
35 // Build ID, this is BUILD_RELEASE for releases |
40 // Build ID, this is BUILD_RELEASE for releases |
36 // |
41 // |
37 #define BUILD_ID BUILD_INTERNAL |
42 #define BUILD_ID BUILD_INTERNAL |