summaryrefslogtreecommitdiffstats
path: root/config.h.in
blob: 8df1fc7511c3b5081cda2c632de3dc3c4cc9781f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once

// Minor and major version, used to communicate changes to users.
#define VERSION_MAJOR		@MultiMC_VERSION_MAJOR@
#define VERSION_MINOR		@MultiMC_VERSION_MINOR@

// Build number, channel, and type -- number and channel are used by the updater, type is purely visual
#define VERSION_BUILD		@MultiMC_VERSION_BUILD@
#define VERSION_CHANNEL    "@MultiMC_VERSION_CHANNEL@"
#define VERSION_BUILD_TYPE "@MultiMC_VERSION_BUILD_TYPE@"

// URL for the updater's channel
#define CHANLIST_URL       "@MultiMC_CHANLIST_URL@"

// URL for notifications
#define NOTIFICATION_URL "@MultiMC_NOTIFICATION_URL@"

// Used for matching notifications
#define FULL_VERSION_STR "@MultiMC_VERSION_MAJOR@.@MultiMC_VERSION_MINOR@.@MultiMC_VERSION_BUILD@"

// enabled for updater dry run
#cmakedefine MultiMC_UPDATER_DRY_RUN

// enabled for updater dry run
#cmakedefine MultiMC_UPDATER_FORCE_LOCAL

// The commit hash of this build
#define GIT_COMMIT		   "@MultiMC_GIT_COMMIT@"

// This is printed on start to standard output
#define VERSION_STR        "@MultiMC_VERSION_STRING@"

// This is used to fetch the news RSS feed.
// It defaults in CMakeLists.txt to "http://multimc.org/rss.xml"
#define NEWS_RSS_URL       "@MultiMC_NEWS_RSS_URL@"