generateVersion

Generates the version for the compiler.

If anything goes wrong in the process the contents of the file versionFile will be returned.

string
generateVersion
(
const string versionFile
)

Parameters

versionFile string

a file containing a version, used for backup if generating the version fails

Return Value

Type: string

the generated version, or the content of versionFile

Meta