Salome HOME
Properly process show/hide static trihedron in OCC view
[modules/gui.git] / src / OCCViewer / CMakeLists.txt
index 5ea8ac4cae59c334203754e36eff2e3747254a87..de1434512b49f4ef916ac6fd542115c0e5747c71 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 # 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
@@ -30,11 +30,11 @@ INCLUDE_DIRECTORIES(
   ${OGL_INCLUDE_DIRS}
   ${QT_INCLUDES}
   ${PTHREAD_INCLUDE_DIR}
-  ${KERNEL_INCLUDE_DIRS}
   ${PROJECT_SOURCE_DIR}/src/CASCatch
   ${PROJECT_SOURCE_DIR}/src/Qtx
   ${PROJECT_SOURCE_DIR}/src/OpenGLUtils
   ${PROJECT_SOURCE_DIR}/src/SUIT
+  ${PROJECT_SOURCE_DIR}/src/ViewerData
   ${PROJECT_SOURCE_DIR}/src/ViewerTools
 )
 
@@ -43,8 +43,9 @@ ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS} ${OGL_DEFINITIONS})
 
 # libraries to link to
 SET(_link_LIBRARIES
-  ${OPENGL_LIBRARIES} ${QT_LIBRARIES} ${CAS_KERNEL} ${CAS_VIEWER}
-  CASCatch qtx suit OpenGLUtils ViewerTools
+  ${OPENGL_LIBRARIES} ${QT_LIBRARIES} ${CAS_KERNEL} ${CAS_VIEWER} ${CAS_TKGeomAlgo}
+  ${CAS_TKTopAlgo} ${CAS_TKG2d}
+  CASCatch qtx suit OpenGLUtils ViewerTools ViewerData
 )
 
 # --- headers ---
@@ -66,11 +67,14 @@ SET(_moc_HEADERS
   OCCViewer_ViewPort3d.h
   OCCViewer_ViewSketcher.h
   OCCViewer_ViewWindow.h
+  OCCViewer_ViewportInputFilter.h
+  OCCViewer_ClipPlaneInteractor.h
 )
 
 # header files / no moc processing
 SET(_other_HEADERS
   OCCViewer.h
+  OCCViewer_ClipPlane.h
   OCCViewer_Trihedron.h 
   OCCViewer_VService.h
 )
@@ -117,6 +121,7 @@ SET(_other_RESOURCES
   resources/occ_view_preselection.png
   resources/occ_view_presets.png
   resources/occ_view_reset.png
+  resources/occ_view_return_3d_view.png
   resources/occ_view_right.png
   resources/occ_view_rotate.png
   resources/occ_view_rotation_point.png
@@ -140,6 +145,7 @@ SET(_other_SOURCES
   OCCViewer_AISSelector.cxx
   OCCViewer_AxialScaleDlg.cxx
   OCCViewer_ClippingDlg.cxx
+  OCCViewer_ClipPlane.cxx
   OCCViewer_CreateRestoreViewDlg.cxx
   OCCViewer_CubeAxesDlg.cxx
   OCCViewer_FontWidget.cxx
@@ -154,6 +160,8 @@ SET(_other_SOURCES
   OCCViewer_ViewPort3d.cxx
   OCCViewer_ViewSketcher.cxx
   OCCViewer_ViewWindow.cxx
+  OCCViewer_ViewportInputFilter.cxx
+  OCCViewer_ClipPlaneInteractor.cxx
 )
 
 # sources / to compile