2014-01-05 04:36:55 +05:30
|
|
|
#pragma once
|
|
|
|
|
2013-12-02 05:25:24 +05:30
|
|
|
// Minor and major version, used to communicate changes to users.
|
2013-01-11 06:55:40 +05:30
|
|
|
#define VERSION_MAJOR @MultiMC_VERSION_MAJOR@
|
|
|
|
#define VERSION_MINOR @MultiMC_VERSION_MINOR@
|
2013-12-02 05:25:24 +05:30
|
|
|
|
2013-12-05 00:04:12 +05:30
|
|
|
// Build number, channel, and type -- number and channel are used by the updater, type is purely visual
|
2013-01-11 06:55:40 +05:30
|
|
|
#define VERSION_BUILD @MultiMC_VERSION_BUILD@
|
2013-12-05 00:04:12 +05:30
|
|
|
#define VERSION_CHANNEL "@MultiMC_VERSION_CHANNEL@"
|
2013-12-02 01:57:36 +05:30
|
|
|
#define VERSION_BUILD_TYPE "@MultiMC_VERSION_BUILD_TYPE@"
|
2013-01-11 06:55:40 +05:30
|
|
|
|
2013-12-05 00:04:12 +05:30
|
|
|
// URL for the updater's channel
|
|
|
|
#define CHANLIST_URL "@MultiMC_CHANLIST_URL@"
|
2013-01-11 06:55:40 +05:30
|
|
|
|
2014-01-03 23:49:27 +05:30
|
|
|
// 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@"
|
|
|
|
|
2014-01-05 04:36:55 +05:30
|
|
|
// enabled for updater dry run
|
|
|
|
#cmakedefine MultiMC_UPDATER_DRY_RUN
|
|
|
|
|
2013-12-05 00:04:12 +05:30
|
|
|
// The commit hash of this build
|
2013-12-02 05:25:24 +05:30
|
|
|
#define GIT_COMMIT "@MultiMC_GIT_COMMIT@"
|
2013-12-02 01:57:36 +05:30
|
|
|
|
2013-12-02 05:25:24 +05:30
|
|
|
// This is printed on start to standard output
|
|
|
|
#define VERSION_STR "@MultiMC_VERSION_STRING@"
|
2013-12-05 00:04:12 +05:30
|
|
|
|
2013-12-16 02:18:58 +05:30
|
|
|
// 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@"
|
|
|
|
|