Salome HOME
#29456 [EDF] (2022-T1) Finalization of SSL implementation
[modules/geom.git] / src / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 1e808f4..5b1b41d
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # 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
 # Common packages
 ##
 SET(SUBDIRS_COMMON
-  ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM BREPExport
-  BREPImport IGESExport IGESImport STEPExport STEPImport STLExport
-  ShHealOper GEOMUtils XAO XAO_Swig GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
-  AdvancedEngine OCC2VTK VTKExport
+  ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM ShHealOper GEOMUtils XAO XAO_Swig 
+  GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
+  AdvancedEngine
+  STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin Tools
   )
 
 ##
@@ -36,6 +36,16 @@ IF(SALOME_GEOM_USE_OPENCV)
     )
 ENDIF()
 
+##
+# VTK
+##
+IF(SALOME_GEOM_USE_VTK)
+  SET(SUBDIRS_VTK 
+    OCC2VTK
+    VTKPlugin
+    )
+ENDIF()
+
 ##
 # GUI
 ##
@@ -43,15 +53,20 @@ IF(SALOME_BUILD_GUI)
   SET(SUBDIRS_GUI
     OBJECT DlgRef GEOMFiltersSelection Material GEOMGUI
     GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI
-    EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI
-    RepairGUI MeasureGUI GroupGUI BlocksGUI AdvancedGUI ImportExportGUI
-    CurveCreator GEOM_SWIG_WITHIHM
+    CurveCreator MeasureGUI EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI
+    RepairGUI GroupGUI BlocksGUI AdvancedGUI
+    GEOM_SWIG_WITHIHM
     )
+  IF(SALOME_USE_GRAPHICSVIEW)
+    LIST(APPEND SUBDIRS_GUI DependencyTree)
+  ENDIF()
 ENDIF()
 
 SET(SUBDIRS
   ${SUBDIRS_COMMON}
   ${SUBDIRS_OPENCV}
+  ${SUBDIRS_VTK}
+  ${SUBDIRS_CC}
   ${SUBDIRS_GUI}
 )