Cog/Frameworks/OpenMPT/OpenMPT/common/versionNumber.h

30 lines
746 B
C
Raw Normal View History

2018-02-19 01:25:43 -03:00
/*
* versionNumber.h
* ---------------
* Purpose: OpenMPT version handling.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
2019-01-23 23:16:37 -03:00
#include "BuildSettings.h"
2018-02-19 01:25:43 -03:00
OPENMPT_NAMESPACE_BEGIN
#define VER_HELPER_STRINGIZE(x) #x
#define VER_STRINGIZE(x) VER_HELPER_STRINGIZE(x)
//Version definitions. The only thing that needs to be changed when changing version number.
2019-01-23 23:16:37 -03:00
#define VER_MAJORMAJOR 1
#define VER_MAJOR 28
2019-06-20 23:17:10 -04:00
#define VER_MINOR 05
2019-02-12 05:07:17 -03:00
#define VER_MINORMINOR 00
2018-02-19 01:25:43 -03:00
//Numerical value of the version.
2019-01-23 23:16:37 -03:00
#define MPT_VERSION_CURRENT MAKE_VERSION_NUMERIC(VER_MAJORMAJOR,VER_MAJOR,VER_MINOR,VER_MINORMINOR)
2018-02-19 01:25:43 -03:00
OPENMPT_NAMESPACE_END