-# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2016 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
${GEOM_INCLUDE_DIRS}
${SMESH_INCLUDE_DIRS}
${VTK_INCLUDE_DIRS}
+ ${MESHGEMS_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${PROJECT_BINARY_DIR}/idl
)
# additional preprocessor / compiler flags
-ADD_DEFINITIONS(
+ADD_DEFINITIONS(
${OMNIORB_DEFINITIONS}
${CAS_DEFINITIONS}
${BOOST_DEFINITIONS}
${CAS_TKGeomBase}
${CAS_TKGeomAlgo}
${CAS_TKCDF}
+ ${MESHGEMS_HYBRID_LIBRARY}
${SMESH_SMESHimpl}
${SMESH_SMESHEngine}
${SMESH_SMESHDS}
${KERNEL_SALOMEBasics}
${KERNEL_SalomeNS}
${KERNEL_OpUtil}
- SalomeIDLGHS3DPLUGIN
+ SalomeIDLHYBRIDPLUGIN
)
# --- headers ---
# header files
-SET(GHS3DEngine_HEADERS
- GHS3DPlugin_Defs.hxx
- GHS3DPlugin_GHS3D.hxx
- GHS3DPlugin_GHS3D_i.hxx
- GHS3DPlugin_Hypothesis.hxx
- GHS3DPlugin_Hypothesis_i.hxx
+SET(HYBRIDEngine_HEADERS
+ HYBRIDPlugin_Defs.hxx
+ HYBRIDPlugin_HYBRID.hxx
+ HYBRIDPlugin_HYBRID_i.hxx
+ HYBRIDPlugin_Hypothesis.hxx
+ HYBRIDPlugin_Hypothesis_i.hxx
+ MG_HYBRID_API.hxx
)
# --- sources ---
# sources / static
-SET(GHS3DEngine_SOURCES
- GHS3DPlugin_GHS3D.cxx
- GHS3DPlugin_GHS3D_i.cxx
- GHS3DPlugin_i.cxx
- GHS3DPlugin_Hypothesis.cxx
- GHS3DPlugin_Hypothesis_i.cxx
+SET(HYBRIDEngine_SOURCES
+ HYBRIDPlugin_HYBRID.cxx
+ HYBRIDPlugin_HYBRID_i.cxx
+ HYBRIDPlugin_i.cxx
+ HYBRIDPlugin_Hypothesis.cxx
+ HYBRIDPlugin_Hypothesis_i.cxx
+ MG_HYBRID_API.cxx
)
# --- scripts ---
# scripts / static
SET(_bin_SCRIPTS
__init__.py
- GHS3DPluginBuilder.py
+ HYBRIDPluginBuilder.py
)
# --- rules ---
-ADD_LIBRARY(GHS3DEngine ${GHS3DEngine_SOURCES})
-TARGET_LINK_LIBRARIES(GHS3DEngine ${_link_LIBRARIES} )
-INSTALL(TARGETS GHS3DEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+ADD_LIBRARY(HYBRIDEngine ${HYBRIDEngine_SOURCES})
+TARGET_LINK_LIBRARIES(HYBRIDEngine ${_link_LIBRARIES} )
+INSTALL(TARGETS HYBRIDEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
-INSTALL(FILES ${GHS3DEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
+INSTALL(FILES ${HYBRIDEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
-SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/GHS3DPlugin)
+SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/HYBRIDPlugin)