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