1 # Copyright (C) 2013-2014 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
24 ${PYTHON_INCLUDE_DIRS}
25 ${KERNEL_INCLUDE_DIRS}
30 ${MESHGEMS_INCLUDE_DIRS}
33 ${OMNIORB_INCLUDE_DIR}
34 ${PROJECT_BINARY_DIR}/idl
37 # additional preprocessor / compiler flags
39 ${OMNIORB_DEFINITIONS}
44 # libraries to link to
60 ${SMESH_StdMeshersEngine}
65 ${KERNEL_SalomeGenericObj}
67 ${KERNEL_SALOMELocalTrace}
68 ${KERNEL_SALOMEBasics}
76 SET(BLSURFEngine_HEADERS
77 BLSURFPlugin_BLSURF.hxx
78 BLSURFPlugin_BLSURF_i.hxx
79 BLSURFPlugin_Hypothesis.hxx
80 BLSURFPlugin_Hypothesis_i.hxx
81 BLSURFPlugin_Attractor.hxx
87 SET(BLSURFEngine_SOURCES
88 BLSURFPlugin_BLSURF.cxx
89 BLSURFPlugin_BLSURF_i.cxx
90 BLSURFPlugin_Hypothesis.cxx
91 BLSURFPlugin_Hypothesis_i.cxx
93 BLSURFPlugin_Attractor.cxx
101 BLSURFPluginBuilder.py
106 ADD_LIBRARY(BLSURFEngine ${BLSURFEngine_SOURCES})
107 TARGET_LINK_LIBRARIES(BLSURFEngine ${_link_LIBRARIES} )
108 INSTALL(TARGETS BLSURFEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
110 INSTALL(FILES ${BLSURFEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
112 SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/BLSURFPlugin)