+ Re-enable Mefisto for MSVC

This commit is contained in:
wmayer
2014-04-03 10:23:30 +02:00
parent ad0ab4b816
commit 938f623b8e
4 changed files with 9 additions and 4 deletions

View File

@@ -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)

View File

@@ -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);

View File

@@ -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)

View File

@@ -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);