-// Copyright (C) 2004-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2004-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "MG_Hexotic_API.hxx"
+#ifdef WIN32
+#define NOMINMAX
+#endif
+
#include <SMESH_Comment.hxx>
#include <SMESH_File.hxx>
#include <Utils_SALOME_Exception.hxx>
MG_Hexotic_API::MG_Hexotic_API(volatile bool& cancelled_flag, double& progress)
{
+ _useLib = false;
#ifdef USE_MG_LIBS
_useLib = true;
_libData = new LibData( cancelled_flag, progress );
_libData->Init();
-#endif
if ( getenv("MG_HEXA_USE_EXE"))
_useLib = false;
+#endif
}
//================================================================================
value = "";
while ( i+1 < args.size() && args[i+1][0] != '-' )
{
+ if ( strncmp( "1>", args[i+1].c_str(), 2 ) == 0 )
+ break;
if ( !value.empty() ) value += " ";
value += args[++i];
}