# Copyright (C) 2012-2015 ALNEOS
-# Copyright (C) 2016-2019 EDF R&D
+# Copyright (C) 2016-2024 EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
+# See http://www.alneos.com/ or email : contact@alneos.fr
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
${OpenCASCADE_INCLUDE_DIR}
${GEOM_INCLUDE_DIRS}
${SMESH_INCLUDE_DIRS}
- ${VTK_INCLUDE_DIRS}
+ ${MEDCOUPLING_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${GMSH_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}/idl
)
+#Avoid compilation warnings from gmsh headers
+INCLUDE_DIRECTORIES( SYSTEM ${GMSH_INCLUDE_DIRS} )
+
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
${OMNIORB_DEFINITIONS}
${SMESH_SMDS}
${SMESH_SMESHDS}
${SMESH_SMESHimpl}
+ ${SMESH_StdMeshers}
${SMESH_SMESHEngine}
${SMESH_MeshDriverGMF}
SalomeIDLGMSHPLUGIN
SET(GMSHEngine_HEADERS
GMSHPlugin_GMSH_2D.hxx
GMSHPlugin_GMSH_2D_i.hxx
+ GMSHPlugin_GMSH_3D.hxx
+ GMSHPlugin_GMSH_3D_SA.hxx
+ GMSHPlugin_GMSH_3D_Remote.hxx
+ GMSHPlugin_GMSH_3D_Remote_i.hxx
+ GMSHPlugin_GMSH_3D_i.cxx
GMSHPlugin_GMSH.hxx
GMSHPlugin_GMSH_i.hxx
GMSHPlugin_Hypothesis.hxx
GMSHPlugin_Hypothesis_i.hxx
GMSHPlugin_Hypothesis_2D.hxx
GMSHPlugin_Hypothesis_2D_i.hxx
+ GMSHPlugin_Hypothesis_3D.hxx
+ GMSHPlugin_Hypothesis_3D_i.hxx
GMSHPlugin_Mesher.hxx
GMSHPlugin_Defs.hxx
)
SET(GMSHEngine_SOURCES
GMSHPlugin_GMSH_2D.cxx
GMSHPlugin_GMSH_2D_i.cxx
+ GMSHPlugin_GMSH_3D.cxx
+ GMSHPlugin_GMSH_3D_SA.cxx
+ GMSHPlugin_GMSH_3D_Remote.cxx
+ GMSHPlugin_GMSH_3D_Remote_i.cxx
+ GMSHPlugin_GMSH_3D_i.cxx
GMSHPlugin_GMSH.cxx
GMSHPlugin_GMSH_i.cxx
GMSHPlugin_Hypothesis.cxx
GMSHPlugin_Hypothesis_i.cxx
GMSHPlugin_Hypothesis_2D.cxx
GMSHPlugin_Hypothesis_2D_i.cxx
+ GMSHPlugin_Hypothesis_3D.cxx
+ GMSHPlugin_Hypothesis_3D_i.cxx
GMSHPlugin_Mesher.cxx
GMSHPlugin_i.cxx
)
+SET(GmshRunner_SOURCES
+ GMSHPlugin_Runner_main.cxx
+)
+
# --- scripts ---
# scripts / static
TARGET_LINK_LIBRARIES(GMSHEngine ${_link_LIBRARIES} )
INSTALL(TARGETS GMSHEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+ADD_EXECUTABLE(GMSHPlugin_Runner ${GmshRunner_SOURCES})
+TARGET_LINK_LIBRARIES(GMSHPlugin_Runner ${_link_LIBRARIES} GMSHEngine )
+INSTALL(TARGETS GMSHPlugin_Runner EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
+
INSTALL(FILES ${GMSHEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/GMSHPlugin)