1 # Copyright (C) 2012-2013 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.
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 INCLUDE(${VTK_USE_FILE})
26 ${PTHREAD_INCLUDE_DIRS}
28 ${KERNEL_INCLUDE_DIRS}
30 ${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
31 ${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
32 ${CMAKE_CURRENT_SOURCE_DIR}/../ViewerTools
33 ${CMAKE_CURRENT_SOURCE_DIR}/../OBJECT
34 ${CMAKE_CURRENT_SOURCE_DIR}/../Prs
35 ${CMAKE_CURRENT_SOURCE_DIR}/../VTKViewer
36 ${CMAKE_CURRENT_SOURCE_DIR}/../OpenGLUtils
39 ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
49 ${KERNEL_SALOMELocalTrace}
58 SET(GUI_HEADERS SVTK_GenericRenderWindowInteractor.h SVTK_RenderWindowInteractor.h SVTK_NonIsometricDlg.h
59 SVTK_UpdateRateDlg.h SVTK_CubeAxesDlg.h SVTK_FontWidget.h SVTK_ViewModelBase.h SVTK_ViewManager.h
60 SVTK_ViewWindow.h SVTK_ViewModel.h SVTK_View.h SVTK_SetRotationPointDlg.h SVTK_ViewParameterDlg.h
61 SVTK_ComboAction.h SVTK_RecorderDlg.h)
62 QT4_WRAP_CPP(GUI_HEADERS ${GUI_HEADERS})
70 SVTK_CubeAxesActor2D.cxx
71 SVTK_NonIsometricDlg.cxx
72 SVTK_UpdateRateDlg.cxx
81 SVTK_InteractorStyle.cxx
82 SVTK_KeyFreeInteractorStyle.cxx
83 SVTK_RenderWindowInteractor.cxx
84 SVTK_GenericRenderWindowInteractor.cxx
87 SVTK_SetRotationPointDlg.cxx
88 SVTK_ViewParameterDlg.cxx
93 SVTK_ImageWriterMgr.cxx
102 resources/SVTK_msg_en.ts
103 resources/SVTK_msg_fr.ts
104 resources/SVTK_msg_ja.ts
105 resources/SVTK_images.ts
108 ADD_LIBRARY(SVTK ${SVTK_SOURCES} ${GUI_HEADERS})
109 TARGET_LINK_LIBRARIES(SVTK ${COMMON_LIBS})
110 INSTALL(TARGETS SVTK EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
112 #ADD_EXECUTABLE(TestSVTK SVTK.cxx)
113 #SET_TARGET_PROPERTIES(TestSVTK PROPERTIES COMPILE_FLAGS "${COMMON_FLAGS}" OUTPUT_NAME "SVTK")
114 #TARGET_LINK_LIBRARIES(TestSVTK SVTK ${COMMON_LIBS})
115 #INSTALL(TARGETS TestSVTK DESTINATION ${SALOME_INSTALL_BINS})
125 SVTK_CubeAxesActor2D.h
132 SVTK_InteractorStyle.h
133 SVTK_KeyFreeInteractorStyle.h
134 SVTK_RenderWindowInteractor.h
135 SVTK_GenericRenderWindowInteractor.h
138 SVTK_SelectionEvent.h
142 SVTK_SetRotationPointDlg.h
143 SVTK_ViewParameterDlg.h
148 SVTK_ImageWriterMgr.h
151 INSTALL(FILES ${COMMON_HEADERS_H} DESTINATION ${SALOME_INSTALL_HEADERS})
152 QT4_INSTALL_TS_RESOURCES("${GUITS_SOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
154 FILE(GLOB GUIPNG_DATA "${CMAKE_CURRENT_SOURCE_DIR}/resources/*.png")
155 INSTALL(FILES ${GUIPNG_DATA} DESTINATION ${SALOME_GUI_INSTALL_RES_DATA})