1 # Copyright (C) 2012-2021 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
22 # additional include directories
24 ${PTHREAD_INCLUDE_DIR}
25 ${OMNIORB_INCLUDE_DIR}
26 ${OpenCASCADE_INCLUDE_DIR}
27 ${KERNEL_INCLUDE_DIRS}
29 ${PROJECT_BINARY_DIR}/idl
31 ${PROJECT_SOURCE_DIR}/src/OCC2VTK
32 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
33 ${CMAKE_CURRENT_SOURCE_DIR}
36 # additional preprocessor / compiler flags
38 ${OpenCASCADE_DEFINITIONS}
39 ${OMNIORB_DEFINITIONS}
43 # libraries to link to
47 ${OpenCASCADE_ModelingData_LIBRARIES}
48 ${OpenCASCADE_Visualization_LIBRARIES}
49 ${KERNEL_SALOMELocalTrace}
52 VTK::RenderingMatplotlib
63 GEOM_TopWireframeShape.hxx
64 GEOM_InteractiveObject.hxx
67 GEOM_VTKPropertyMaterial.hxx
72 GEOM_PainterPolyDataMapper.h
84 GEOM_TopWireframeShape.cxx
85 GEOM_InteractiveObject.cxx
88 GEOM_VTKPropertyMaterial.cxx
90 GEOM_PainterPolyDataMapper.cxx
99 ADD_LIBRARY(GEOMObject ${OBJECT_SOURCES})
100 TARGET_LINK_LIBRARIES(GEOMObject ${_link_LIBRARIES})
101 INSTALL(TARGETS GEOMObject EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
103 INSTALL(FILES ${OBJECT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})