Difference between revisions of "CMF3 Engine: script version"

From cluster wiki
Jump to navigation Jump to search
(Created page with "The '''script_version.hpp''' file contains the framework version as 4 MACROs for ease-of-use. It follows a semantic versioning system with a Major, Minor, Patch level and buil...")
 
 
Line 12: Line 12:
#define PATCHLVL 0
#define PATCHLVL 0
#define BUILD 0</nowiki>}}
#define BUILD 0</nowiki>}}
[[Category:CMF3: Engine Functionality]]

Latest revision as of 23:31, 17 December 2022

The script_version.hpp file contains the framework version as 4 MACROs for ease-of-use. It follows a semantic versioning system with a Major, Minor, Patch level and build number.

It uses the following format:

#define MAJOR /* major version number (Integer) */
#define MINOR /* minor version number (Integer) */
#define PATCHLVL /* patchlvl version number (Integer) */
#define BUILD /* build version number (Integer) */

A complete script_version.hpp can look like the following (taken from CMF3):

#define MAJOR 2
#define MINOR 1
#define PATCHLVL 0
#define BUILD 0