Salome HOME
Fix for the issue #2808 : Documentation on the "Groups" panel. Added description...
[modules/shaper.git] / src / ModuleBase / CMakeLists.txt
index 1257a139937e9bc116c916187a542d2ec48850ca..ee79fe18606b89c6063ec90cd8f5c6b678aee875 100644 (file)
@@ -1,4 +1,22 @@
-## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+## Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+##
+## 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, 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
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## Lesser General Public License for more details.
+##
+## You should have received a copy of the GNU Lesser General Public
+## License along with this library; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+## See http:##www.salome-platform.org/ or
+## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+##
 
 INCLUDE(Common)
 INCLUDE(UseQtExt)
@@ -14,6 +32,8 @@ ADD_DEFINITIONS(${QT_DEFINITIONS})
 SET(PROJECT_HEADERS
   ModuleBase.h
   ModuleBase_ActionInfo.h
+  ModuleBase_ActionType.h
+  ModuleBase_BRepOwner.h
   ModuleBase_Definitions.h
   ModuleBase_DoubleSpinBox.h
   ModuleBase_Events.h
@@ -25,11 +45,13 @@ SET(PROJECT_HEADERS
   ModuleBase_IPrefMgr.h
   ModuleBase_IPropertyPanel.h
   ModuleBase_ISelection.h
+  ModuleBase_ISelectionActivate.h
   ModuleBase_IViewWindow.h
   ModuleBase_IViewer.h
   ModuleBase_IWidgetCreator.h
   ModuleBase_IWorkshop.h
   ModuleBase_LabelValue.h
+  ModuleBase_ListView.h
   ModuleBase_ModelWidget.h
   ModuleBase_Operation.h
   ModuleBase_OperationAction.h
@@ -75,6 +97,13 @@ SET(PROJECT_HEADERS
   ModuleBase_IconFactory.h
   ModuleBase_Dialog.h
   ModuleBase_ModelDialogWidget.h
+  ModuleBase_ActionParameter.h
+  ModuleBase_ActionIntParameter.h
+  ModuleBase_ChoiceCtrl.h
+  ModuleBase_WidgetNameEdit.h
+  ModuleBase_WidgetRadiobox.h
+  ModuleBase_WidgetPointInput.h
+  ModuleBase_ITreeNode.h
 )
 
 SET(PROJECT_MOC_HEADERS
@@ -87,6 +116,7 @@ SET(PROJECT_MOC_HEADERS
   ModuleBase_IViewer.h
   ModuleBase_IWorkshop.h
   ModuleBase_LabelValue.h
+  ModuleBase_ListView.h
   ModuleBase_ModelDialogWidget.h
   ModuleBase_ModelWidget.h
   ModuleBase_Operation.h
@@ -119,10 +149,15 @@ SET(PROJECT_MOC_HEADERS
   ModuleBase_WidgetSwitch.h
   ModuleBase_WidgetToolbox.h
   ModuleBase_WidgetValidated.h
+  ModuleBase_ChoiceCtrl.h
+  ModuleBase_WidgetNameEdit.h
+  ModuleBase_WidgetRadiobox.h
+  ModuleBase_WidgetPointInput.h
 )
 
 SET(PROJECT_SOURCES
   ModuleBase_ActionInfo.cpp
+  ModuleBase_BRepOwner.cpp
   ModuleBase_DoubleSpinBox.cpp
   ModuleBase_Filter.cpp
   ModuleBase_FilterValidated.cpp
@@ -137,6 +172,7 @@ SET(PROJECT_SOURCES
   ModuleBase_IWidgetCreator.cpp
   ModuleBase_IWorkshop.cpp
   ModuleBase_LabelValue.cpp
+  ModuleBase_ListView.cpp
   ModuleBase_ModelWidget.cpp
   ModuleBase_Operation.cpp
   ModuleBase_OperationAction.cpp
@@ -181,6 +217,10 @@ SET(PROJECT_SOURCES
   ModuleBase_IconFactory.cpp
   ModuleBase_SelectionValidator.cpp
   ModuleBase_Dialog.cpp
+  ModuleBase_ChoiceCtrl.cpp
+  ModuleBase_WidgetNameEdit.cpp
+  ModuleBase_WidgetRadiobox.cpp
+  ModuleBase_WidgetPointInput.cpp
 )
 
 SET(PROJECT_LIBRARIES
@@ -192,9 +232,8 @@ SET(PROJECT_LIBRARIES
        GeomDataAPI
        GeomAlgoAPI
        ${QT_LIBRARIES}
-       ${CAS_VIEWER}
-       ${CAS_KERNEL}
-       ${CAS_SHAPE}
+       ${OpenCASCADE_FoundationClasses_LIBRARIES}
+       ${OpenCASCADE_Visualization_LIBRARIES}
        ${suit}
        ${qtx}
        ${ViewerData}
@@ -209,7 +248,7 @@ SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESO
 #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
 
 INCLUDE_DIRECTORIES(
-    ${CAS_INCLUDE_DIRS}
+    ${OpenCASCADE_INCLUDE_DIR}
     ${PROJECT_SOURCE_DIR}/src/Config
     ${PROJECT_SOURCE_DIR}/src/Events
     ${PROJECT_SOURCE_DIR}/src/ModelAPI
@@ -224,7 +263,7 @@ IF(${HAVE_SALOME})
   INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
 ENDIF(${HAVE_SALOME})
 
-ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${CAS_DEFINITIONS})
+ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(ModuleBase SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${PROJECT_AUTOMOC})
 TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})