Salome HOME
Avoid installing redundant files
[modules/geom.git] / src / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 5aabf48..aa3df20
@@ -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 NMTDS NMTTools BlockFix GEOMAlgo SKETCHER GEOM BREPExport
-  BREPImport IGESExport IGESImport STEPExport STEPImport STLExport
-  ShHealOper GEOMUtils GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
+  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
+  SalomeSessionless
   )
 
 ##
@@ -35,22 +37,37 @@ IF(SALOME_GEOM_USE_OPENCV)
     )
 ENDIF()
 
+##
+# VTK
+##
+IF(SALOME_GEOM_USE_VTK)
+  SET(SUBDIRS_VTK 
+    OCC2VTK
+    VTKPlugin
+    )
+ENDIF()
+
 ##
 # GUI
 ##
 IF(SALOME_BUILD_GUI)
   SET(SUBDIRS_GUI
-    OBJECT OCC2VTK VTKExport DlgRef GEOMFiltersSelection Material GEOMGUI
+    OBJECT DlgRef GEOMFiltersSelection Material GEOMGUI
     GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI
-    EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI
-    RepairGUI MeasureGUI GroupGUI BlocksGUI AdvancedGUI AdvancedEngine
+    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}
 )