mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
misc: define 2.3.0 version number + add unofficial suffix
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
project(magicseteditor VERSION 2.2.2)
|
project(magicseteditor VERSION 2.3.0)
|
||||||
|
add_definitions(-DUNOFFICIAL_BUILD)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
|||||||
@@ -51,11 +51,14 @@ template <> void GetDefaultMember::handle(const Version& v) {
|
|||||||
// ----------------------------------------------------------------------------- : Versions
|
// ----------------------------------------------------------------------------- : Versions
|
||||||
|
|
||||||
// NOTE: Don't use leading zeroes, they mean octal
|
// NOTE: Don't use leading zeroes, they mean octal
|
||||||
const Version app_version = 10000 * MSE_VERSION_MAJOR + 100 * MSE_VERSION_MINOR + MSE_VERSION_PATCH;
|
const Version app_version = 10000 * MSE_VERSION_MAJOR + 100 * MSE_VERSION_MINOR + MSE_VERSION_PATCH;
|
||||||
#ifdef UNICODE
|
|
||||||
const Char* version_suffix = _("");
|
#if defined UNOFFICIAL_BUILD
|
||||||
#else
|
const Char* version_suffix = _(" (Unofficial)");
|
||||||
const Char* version_suffix = _(" (ascii build)");
|
#elif defined UNICODE
|
||||||
|
const Char* version_suffix = _("");
|
||||||
|
#else
|
||||||
|
const Char* version_suffix = _(" (ascii build)");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Which version of MSE are the files we write out compatible with?
|
/// Which version of MSE are the files we write out compatible with?
|
||||||
|
|||||||
Reference in New Issue
Block a user