+ Re-enable Mefisto for MSVC
This commit is contained in:
@@ -4,8 +4,9 @@ else(MSVC)
|
||||
add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
|
||||
endif(MSVC)
|
||||
|
||||
|
||||
add_definitions(-DHAVE_SMESH)
|
||||
if (FREECAD_BUILD_SMESH)
|
||||
add_definitions(-DHAVE_SMESH -DHAVE_MEFISTO)
|
||||
endif(FREECAD_BUILD_SMESH)
|
||||
|
||||
if(FREECAD_BUILD_FEM_NETGEN)
|
||||
add_definitions(-DHAVE_NETGEN)
|
||||
|
||||
@@ -152,7 +152,7 @@ Mesh::MeshObject* Mesher::createMesh() const
|
||||
hypoth.push_back(alg2d);
|
||||
} break;
|
||||
#endif
|
||||
#if !defined (_MSC_VER)
|
||||
#if defined (HAVE_MEFISTO)
|
||||
case Mefisto: {
|
||||
if (maxLength > 0) {
|
||||
StdMeshers_MaxLength* hyp1d = new StdMeshers_MaxLength(hyp++, 0, meshgen);
|
||||
|
||||
@@ -4,6 +4,10 @@ else(MSVC)
|
||||
add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
|
||||
endif(MSVC)
|
||||
|
||||
if (FREECAD_BUILD_SMESH)
|
||||
add_definitions(-DHAVE_SMESH -DHAVE_MEFISTO)
|
||||
endif(FREECAD_BUILD_SMESH)
|
||||
|
||||
if(FREECAD_BUILD_FEM_NETGEN)
|
||||
add_definitions(-DHAVE_NETGEN)
|
||||
endif(FREECAD_BUILD_FEM_NETGEN)
|
||||
|
||||
@@ -65,7 +65,7 @@ Tessellation::Tessellation(QWidget* parent)
|
||||
ui->comboFineness->setCurrentIndex(2);
|
||||
on_comboFineness_currentIndexChanged(2);
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
#if !defined (HAVE_MEFISTO)
|
||||
ui->radioButtonMefisto->setDisabled(true);
|
||||
#else
|
||||
ui->radioButtonMefisto->setChecked(true);
|
||||
|
||||
Reference in New Issue
Block a user