#pragma once

// This file is transformed from keymanversion_build.in to keymanversion_build.h by /common/include/build.sh

// Legacy version number defines
#define KEYMANVERSION	"19.0"
#define KEYMANVERSIONW	L"19.0"

// Current version number defines
#define KEYMAN_Version            "19.0.247"
#define KEYMAN_Version_W          L"19.0.247"

#define KEYMAN_VersionWin         "19.0.247.0"
#define KEYMAN_VersionWin_W       L"19.0.247.0"
#define KEYMAN_VersionWin_W16     u"19.0.247.0"

#define KEYMAN_VersionRelease     "19.0"
#define KEYMAN_VersionRelease_W   L"19.0"

#define KEYMAN_VersionMajor       19
#define KEYMAN_VersionMinor       0
#define KEYMAN_VersionPatch       247

#define KEYMAN_Tier               "alpha"
#define KEYMAN_Tier_W             L"alpha"

#define KEYMAN_Tag                "-alpha"
#define KEYMAN_Tag_W              L"-alpha"

#define KEYMAN_VersionWithTag     "19.0.247-alpha"
#define KEYMAN_VersionWithTag_W   L"19.0.247-alpha"

#define KEYMAN_VersionRc          "19,0,247,0"
#define KEYMAN_VersionRc_W        L"19,0,247,0"

#define KEYMAN_Environment        "alpha"
#define KEYMAN_Environment_W      L"alpha"

#define KEYMAN_VersionGitTag      "release@19.0.247-alpha"
#define KEYMAN_VersionGitTag_W    L"release@19.0.247-alpha"

//
// Version macros for .rc files
///

#define kv_version_stringify(x) kv_version_to_string(x)
#define kv_version_to_string(x) #x

// Product versioning

#define KV_VERSION_MAJOR 19
#define KV_VERSION_MINOR 0
#define KV_VERSION_PATCH 247
#define KV_VERSION_STRING kv_version_stringify(19 ## . ## 0 ## . ## 247 ## .0) "\0"

#define KV_FILEVERSION KV_VERSION_MAJOR, KV_VERSION_MINOR, KV_VERSION_PATCH, 0
#define KV_PRODUCTVERSION KV_VERSION_MAJOR, KV_VERSION_MINOR, KV_VERSION_PATCH, 0
