1 # Copyright (C) 2012-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
20 INCLUDE(${QT_USE_FILE})
21 INCLUDE(${VTK_USE_FILE})
25 # additional include directories
28 ${PTHREAD_INCLUDE_DIR}
30 ${OMNIORB_INCLUDE_DIR}
32 ${KERNEL_INCLUDE_DIRS}
34 ${PROJECT_BINARY_DIR}/idl
36 ${PROJECT_SOURCE_DIR}/src/OCC2VTK
37 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
38 ${CMAKE_CURRENT_SOURCE_DIR}
41 # additional preprocessor / compiler flags
44 ${OMNIORB_DEFINITIONS}
48 # libraries to link to
53 ${KERNEL_SALOMELocalTrace}
57 vtkRenderingMatplotlib
70 Handle_GEOM_AISShape.hxx
71 GEOM_TopWireframeShape.hxx
72 GEOM_TopWireframeShape.ixx
73 GEOM_TopWireframeShape.jxx
74 Handle_GEOM_TopWireframeShape.hxx
75 GEOM_InteractiveObject.hxx
76 GEOM_InteractiveObject.ixx
77 GEOM_InteractiveObject.jxx
78 Handle_GEOM_InteractiveObject.hxx
81 GEOM_VTKPropertyMaterial.hxx
86 GEOM_PainterPolyDataMapper.h
97 GEOM_TopWireframeShape.cxx
98 GEOM_InteractiveObject.cxx
100 GEOM_VTKTrihedron.cxx
101 GEOM_VTKPropertyMaterial.cxx
103 GEOM_PainterPolyDataMapper.cxx
106 GEOM_AISDimension.cxx
111 ADD_LIBRARY(GEOMObject ${OBJECT_SOURCES})
112 TARGET_LINK_LIBRARIES(GEOMObject ${_link_LIBRARIES})
113 INSTALL(TARGETS GEOMObject EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
115 INSTALL(FILES ${OBJECT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})