Salome HOME
Second integration of Salome On Demand
[modules/gui.git] / src / LightApp / CMakeLists.txt
index 374d057963f35a471dae7cde822c41614941aaa5..fed477d56a0e000bcb6aa7d8f5ca502a92bc68b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023  CEA, EDF, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -26,6 +26,7 @@ INCLUDE_DIRECTORIES(
   ${OpenCASCADE_INCLUDE_DIR}
   ${QT_INCLUDES}
   ${HDF5_INCLUDE_DIRS}
+  ${GRAPHVIZ_INCLUDE_DIRS}
   ${PTHREAD_INCLUDE_DIR}
   ${PROJECT_BINARY_DIR}
   ${PROJECT_SOURCE_DIR}/src/CAM
@@ -38,6 +39,7 @@ INCLUDE_DIRECTORIES(
   ${PROJECT_SOURCE_DIR}/src/STD
   ${PROJECT_SOURCE_DIR}/src/SUIT
   ${PROJECT_SOURCE_DIR}/src/Style
+  ${PROJECT_SOURCE_DIR}/src/SalomeApprc_utils
 )
 IF(SALOME_USE_SALOMEOBJECT)
   INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/OBJECT)
@@ -58,6 +60,12 @@ IF(SALOME_USE_OCCVIEWER)
     INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/SOCC)
   ENDIF()
 ENDIF()
+IF(SALOME_USE_PV3DVIEWER)
+  INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/PV3DViewer)
+  IF(SALOME_USE_SALOMEOBJECT)
+    INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/SPV3D)
+  ENDIF()
+ENDIF()
 IF(SALOME_USE_PLOT2DVIEWER)
   INCLUDE_DIRECTORIES(${QWT_INCLUDE_DIR})
   INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Plot2d)
@@ -66,7 +74,6 @@ IF(SALOME_USE_PLOT2DVIEWER)
   ENDIF()
 ENDIF()
 IF(SALOME_USE_VTKVIEWER)
-  INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS})
   INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/VTKViewer)
   IF(SALOME_USE_SALOMEOBJECT)
     INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/SVTK)
@@ -102,8 +109,11 @@ SET(_link_LIBRARIES
   ${QT_LIBRARIES}
   ${HDF5_LIBRARIES}
   CASCatch qtx suit std SalomeStyle SalomePrs CAM LogWindow ObjBrowser Event 
+  SalomeApprc_utils
   ${KERNEL_SalomeHDFPersist} ${KERNEL_SALOMELocalTrace}
+  ${GRAPHVIZ_LIBRARIES}
 )
+
 IF(SALOME_USE_SALOMEOBJECT)
   LIST(APPEND _link_LIBRARIES SalomeObject)
 ENDIF()
@@ -122,6 +132,12 @@ IF(SALOME_USE_OCCVIEWER)
     LIST(APPEND _link_LIBRARIES SOCC)
   ENDIF()
 ENDIF()
+IF(SALOME_USE_PV3DVIEWER)
+  LIST(APPEND _link_LIBRARIES PV3DViewer)
+  IF(SALOME_USE_SALOMEOBJECT)
+    LIST(APPEND _link_LIBRARIES SPV3D)
+  ENDIF()
+ENDIF()
 IF(SALOME_USE_PLOT2DVIEWER)
   LIST(APPEND _link_LIBRARIES Plot2d)
   IF(SALOME_USE_SALOMEOBJECT)
@@ -147,7 +163,7 @@ ENDIF()
 # --- headers ---
 
 # header files / to be processed by moc
-SET(_moc_HEADERS   
+SET(_moc_HEADERS
   LightApp_AboutDlg.h
   LightApp_Application.h
   LightApp_DataModel.h
@@ -165,6 +181,7 @@ SET(_moc_HEADERS
   LightApp_Study.h
   LightApp_SwitchOp.h
   LightApp_WgViewModel.h
+  LightApp_ExtInfoDlg.h
 )
 IF(SALOME_USE_GLVIEWER)
   LIST(APPEND _moc_HEADERS LightApp_GLSelector.h)
@@ -175,6 +192,11 @@ ENDIF()
 IF(SALOME_USE_OCCVIEWER)
   LIST(APPEND _moc_HEADERS LightApp_OCCSelector.h)
 ENDIF()
+IF(SALOME_USE_PV3DVIEWER)
+  IF(SALOME_USE_SALOMEOBJECT)
+    LIST(APPEND _moc_HEADERS LightApp_PV3DSelector.h)
+  ENDIF()
+ENDIF()
 IF(SALOME_USE_PLOT2DVIEWER)
   LIST(APPEND _moc_HEADERS LightApp_Plot2dSelector.h)
 ENDIF()
@@ -225,10 +247,12 @@ SET(_other_RESOURCES
   resources/icon_applogo.png
   resources/icon_default.png
   resources/icon_module.png
-  resources/icon_module_big.png
   resources/icon_select.png
   resources/icon_earth.png
   resources/icon_life_ring.png
+  resources/icon_add_module.png
+  resources/icon_remove_module.png
+  resources/icon_info_module.png
   resources/LightApp.xml
 )
 
@@ -269,6 +293,7 @@ SET(_other_SOURCES
   LightApp_Study.cxx
   LightApp_SwitchOp.cxx
   LightApp_WgViewModel.cxx
+  LightApp_ExtInfoDlg.cxx
 )
 IF(SALOME_USE_GLVIEWER)
   LIST(APPEND _other_SOURCES LightApp_GLSelector.cxx)
@@ -279,6 +304,11 @@ ENDIF()
 IF(SALOME_USE_OCCVIEWER)
   LIST(APPEND _other_SOURCES LightApp_OCCSelector.cxx)
 ENDIF()
+IF(SALOME_USE_PV3DVIEWER)
+  IF(SALOME_USE_SALOMEOBJECT)
+    LIST(APPEND _other_SOURCES LightApp_PV3DSelector.cxx)
+  ENDIF()
+ENDIF()
 IF(SALOME_USE_PLOT2DVIEWER)
   LIST(APPEND _other_SOURCES LightApp_Plot2dSelector.cxx)
 ENDIF()