CMF3 Engine: script version

From cluster wiki
Jump to navigation Jump to search

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