recognize OCCT -dev and -beta versions

as such in version string
This commit is contained in:
Sebastian Hoogen 2014-07-20 13:01:13 +02:00
parent 3859963b44
commit 65793d22e8

View File

@ -95,6 +95,9 @@ void PartExport initPart()
{
std::stringstream str;
str << OCC_VERSION_MAJOR << "." << OCC_VERSION_MINOR << "." << OCC_VERSION_MAINTENANCE;
#ifdef OCC_VERSION_DEVELOPMENT
str << "." OCC_VERSION_DEVELOPMENT;
#endif
App::Application::Config()["OCC_VERSION"] = str.str();
// This is highly experimental and we should keep an eye on it