15 #ifndef NINJA_VERSION_H_
16 #define NINJA_VERSION_H_
26 void ParseVersion(
const string& version,
int* major,
int* minor);
32 #endif // NINJA_VERSION_H_
void ParseVersion(const string &version, int *major, int *minor)
Parse the major/minor components of a version string.
const char * kNinjaVersion
The version number of the current Ninja release.
void CheckNinjaVersion(const string &required_version)
Check whether version is compatible with the current Ninja version, aborting if not.