1 # Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # additional include directories
23 ${KERNEL_INCLUDE_DIRS}
28 ${NETGEN_INCLUDE_DIRS}
31 ${OMNIORB_INCLUDE_DIR}
32 ${PROJECT_BINARY_DIR}/idl
35 # additional preprocessor / compiler flags
37 ${OMNIORB_DEFINITIONS}
43 # libraries to link to
78 ${SMESH_StdMeshersEngine}
82 ${SMESH_SMESHControls}
83 ${KERNEL_SalomeGenericObj}
85 ${KERNEL_SALOMELocalTrace}
93 SET(NETGENEngine_HEADERS
94 NETGENPlugin_NETGEN_3D.hxx
95 NETGENPlugin_NETGEN_3D_i.hxx
96 NETGENPlugin_NETGEN_2D.hxx
97 NETGENPlugin_NETGEN_2D_i.hxx
98 NETGENPlugin_NETGEN_2D3D.hxx
99 NETGENPlugin_NETGEN_2D3D_i.hxx
100 NETGENPlugin_NETGEN_2D_ONLY.hxx
101 NETGENPlugin_NETGEN_2D_ONLY_i.hxx
102 NETGENPlugin_Hypothesis.hxx
103 NETGENPlugin_Hypothesis_i.hxx
104 NETGENPlugin_Hypothesis_2D.hxx
105 NETGENPlugin_Hypothesis_2D_i.hxx
106 NETGENPlugin_Hypothesis_3D_i.hxx
107 NETGENPlugin_Hypothesis_2D_ONLY_i.hxx
108 NETGENPlugin_SimpleHypothesis_2D.hxx
109 NETGENPlugin_SimpleHypothesis_3D.hxx
110 NETGENPlugin_SimpleHypothesis_2D_i.hxx
111 NETGENPlugin_SimpleHypothesis_3D_i.hxx
112 NETGENPlugin_Mesher.hxx
113 NETGENPlugin_Remesher_2D.hxx
114 NETGENPlugin_Defs.hxx
120 SET(NETGENEngine_SOURCES
121 NETGENPlugin_NETGEN_3D.cxx
122 NETGENPlugin_NETGEN_3D_i.cxx
123 NETGENPlugin_Mesher.cxx
124 NETGENPlugin_NETGEN_2D.cxx
125 NETGENPlugin_NETGEN_2D_i.cxx
126 NETGENPlugin_NETGEN_2D3D.cxx
127 NETGENPlugin_NETGEN_2D3D_i.cxx
128 NETGENPlugin_NETGEN_2D_ONLY.cxx
129 NETGENPlugin_NETGEN_2D_ONLY_i.cxx
130 NETGENPlugin_Hypothesis.cxx
131 NETGENPlugin_Hypothesis_i.cxx
132 NETGENPlugin_Hypothesis_2D.cxx
133 NETGENPlugin_Hypothesis_2D_i.cxx
134 NETGENPlugin_Hypothesis_3D_i.cxx
135 NETGENPlugin_Hypothesis_2D_ONLY_i.cxx
136 NETGENPlugin_SimpleHypothesis_2D.cxx
137 NETGENPlugin_SimpleHypothesis_3D.cxx
138 NETGENPlugin_SimpleHypothesis_2D_i.cxx
139 NETGENPlugin_SimpleHypothesis_3D_i.cxx
140 NETGENPlugin_Remesher_2D.cxx
149 NETGENPluginBuilder.py
154 ADD_LIBRARY(NETGENEngine ${NETGENEngine_SOURCES})
155 TARGET_LINK_LIBRARIES(NETGENEngine ${_link_LIBRARIES} )
156 INSTALL(TARGETS NETGENEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
158 INSTALL(FILES ${NETGENEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
160 SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/NETGENPlugin)