diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/config.h.in b/config.h.in index aa604056..16e9f54e 100644 --- a/config.h.in +++ b/config.h.in @@ -1,15 +1,33 @@ -// Minor and major version, used to communicate changes to users. +#pragma once + +// Version information #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_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@" -#define VERSION_BUILD_TYPE "@MultiMC_VERSION_BUILD_TYPE@" + +// 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@" |