1 # Copyright (C) 2012-2015 ALNEOS
2 # Copyright (C) 2016-2020 EDF R&D
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.alneos.com/ or email : contact@alneos.fr
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # additional include directories
25 ${KERNEL_INCLUDE_DIRS}
26 ${OpenCASCADE_INCLUDE_DIR}
30 ${OMNIORB_INCLUDE_DIR}
32 ${PROJECT_BINARY_DIR}/idl
35 # additional preprocessor / compiler flags
37 ${OMNIORB_DEFINITIONS}
38 ${OpenCASCADE_DEFINITIONS}
42 # libraries to link to
44 ${OpenCASCADE_FoundationClasses_LIBRARIES}
45 ${OpenCASCADE_ModelingData_LIBRARIES}
46 ${OpenCASCADE_ApplicationFramework_LIBRARIES}
47 ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
49 ${KERNEL_SALOMELocalTrace}
50 ${KERNEL_SALOMEBasics}
51 ${KERNEL_SalomeGenericObj}
58 ${SMESH_MeshDriverGMF}
65 SET(GMSHEngine_HEADERS
66 GMSHPlugin_GMSH_2D.hxx
67 GMSHPlugin_GMSH_2D_i.hxx
70 GMSHPlugin_Hypothesis.hxx
71 GMSHPlugin_Hypothesis_i.hxx
72 GMSHPlugin_Hypothesis_2D.hxx
73 GMSHPlugin_Hypothesis_2D_i.hxx
81 SET(GMSHEngine_SOURCES
82 GMSHPlugin_GMSH_2D.cxx
83 GMSHPlugin_GMSH_2D_i.cxx
86 GMSHPlugin_Hypothesis.cxx
87 GMSHPlugin_Hypothesis_i.cxx
88 GMSHPlugin_Hypothesis_2D.cxx
89 GMSHPlugin_Hypothesis_2D_i.cxx
104 ADD_LIBRARY(GMSHEngine ${GMSHEngine_SOURCES})
105 TARGET_LINK_LIBRARIES(GMSHEngine ${_link_LIBRARIES} )
106 INSTALL(TARGETS GMSHEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
108 INSTALL(FILES ${GMSHEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
110 SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/GMSHPlugin)