mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
3202b972f8
Again...
41 lines
1.3 KiB
C
41 lines
1.3 KiB
C
#pragma once
|
|
|
|
// Version information
|
|
#define VERSION_MAJOR @MultiMC_VERSION_MAJOR@
|
|
#define VERSION_MINOR @MultiMC_VERSION_MINOR@
|
|
#define VERSION_HOTFIX @MultiMC_VERSION_HOTFIX@
|
|
#define VERSION_BUILD @MultiMC_VERSION_BUILD@
|
|
#define VERSION_TYPE @MultiMC_VERSION_TYPE@
|
|
|
|
// The version channel. This is used by the updater to determine what channel the current version came from.
|
|
#define VERSION_CHANNEL "@MultiMC_VERSION_CHANNEL@"
|
|
|
|
// A short string identifying this build's platform. For example, "lin64" or "win32".
|
|
#define BUILD_PLATFORM "@MultiMC_BUILD_PLATFORM@"
|
|
|
|
// 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@"
|
|
|