X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLightApp%2FCMakeLists.txt;h=ee2414121aff82aca60565c4b3a9225f10f9f4b6;hb=175839ad985ab27d1f74ac5578d780ae16278383;hp=0573e1b2ad8e9d069cc62f79338aec01d59dd362;hpb=7d93c764f1cd3fbbe7db561b2e4b0bafa10bc0d4;p=modules%2Fgui.git diff --git a/src/LightApp/CMakeLists.txt b/src/LightApp/CMakeLists.txt index 0573e1b2a..ee2414121 100644 --- a/src/LightApp/CMakeLists.txt +++ b/src/LightApp/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2020 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 @@ -58,6 +59,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) @@ -100,9 +107,11 @@ SET(_link_LIBRARIES ${OpenCASCADE_FoundationClasses_LIBRARIES} ${QT_LIBRARIES} ${HDF5_LIBRARIES} - CASCatch qtx suit std SalomeStyle SalomePrs CAM LogWindow ObjBrowser Event + CASCatch qtx suit std SalomeStyle SalomePrs CAM LogWindow ObjBrowser Event ${KERNEL_SalomeHDFPersist} ${KERNEL_SALOMELocalTrace} + ${GRAPHVIZ_LIBRARIES} ) + IF(SALOME_USE_SALOMEOBJECT) LIST(APPEND _link_LIBRARIES SalomeObject) ENDIF() @@ -121,6 +130,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) @@ -146,7 +161,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 @@ -164,6 +179,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) @@ -174,6 +190,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() @@ -224,10 +245,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 ) @@ -268,6 +291,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) @@ -278,6 +302,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()