2014-01-04 23:06:55 +00:00
|
|
|
#pragma once
|
|
|
|
|
2014-01-08 00:09:05 +00:00
|
|
|
// Version information
|
2013-01-11 01:25:40 +00:00
|
|
|
#define VERSION_MAJOR @MultiMC_VERSION_MAJOR@
|
|
|
|
#define VERSION_MINOR @MultiMC_VERSION_MINOR@
|
2014-01-08 00:09:05 +00:00
|
|
|
#define VERSION_HOTFIX @MultiMC_VERSION_HOTFIX@
|
2013-01-11 01:25:40 +00:00
|
|
|
#define VERSION_BUILD @MultiMC_VERSION_BUILD@
|
2014-01-08 00:09:05 +00:00
|
|
|
#define VERSION_TYPE @MultiMC_VERSION_TYPE@
|
|
|
|
|
|
|
|
// The version channel. This is used by the updater to determine what channel the current version came from.
|
2013-12-04 18:34:12 +00:00
|
|
|
#define VERSION_CHANNEL "@MultiMC_VERSION_CHANNEL@"
|
2014-01-08 00:09:05 +00:00
|
|
|
|
|
|
|
// A short string identifying this build's platform. For example, "lin64" or "win32".
|
|
|
|
#define BUILD_PLATFORM "@MultiMC_BUILD_PLATFORM@"
|
2013-01-11 01:25:40 +00:00
|
|
|
|
2013-12-04 18:34:12 +00:00
|
|
|
// URL for the updater's channel
|
|
|
|
#define CHANLIST_URL "@MultiMC_CHANLIST_URL@"
|
2013-01-11 01:25:40 +00:00
|
|
|
|
2014-01-03 18:19:27 +00:00
|
|
|
// 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-04 23:06:55 +00:00
|
|
|
// enabled for updater dry run
|
|
|
|
#cmakedefine MultiMC_UPDATER_DRY_RUN
|
|
|
|
|
2014-01-05 13:24:33 +00:00
|
|
|
// enabled for updater dry run
|
|
|
|
#cmakedefine MultiMC_UPDATER_FORCE_LOCAL
|
|
|
|
|
2013-12-04 18:34:12 +00:00
|
|
|
// The commit hash of this build
|
2013-12-01 23:55:24 +00:00
|
|
|
#define GIT_COMMIT "@MultiMC_GIT_COMMIT@"
|
2013-12-01 20:27:36 +00:00
|
|
|
|
2013-12-01 23:55:24 +00:00
|
|
|
// This is printed on start to standard output
|
|
|
|
#define VERSION_STR "@MultiMC_VERSION_STRING@"
|
2013-12-04 18:34:12 +00:00
|
|
|
|
2013-12-15 20:48:58 +00:00
|
|
|
// 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@"
|
|
|
|
|