+## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
INCLUDE(Common)
SET(CMAKE_AUTOMOC ON)
SET(PROJECT_HEADERS
- ModuleBase.h
- ModuleBase_IOperation.h
- ModuleBase_Operation.h
- ModuleBase_OperationDescription.h
- ModuleBase_PropPanelOperation.h
- ModuleBase_WidgetCustom.h
- ModuleBase_WidgetFactory.h
- ModuleBase_WidgetPoint2D.h
- ModuleBase_WidgetSwitch.h
+ ModuleBase.h
+ ModuleBase_ActionInfo.h
+ ModuleBase_Definitions.h
+ ModuleBase_DoubleSpinBox.h
+ ModuleBase_Filter.h
+ ModuleBase_FilterFactory.h
+ ModuleBase_FilterValidated.h
+ ModuleBase_IErrorMgr.h
+ ModuleBase_IModule.h
+ ModuleBase_IntSpinBox.h
+ ModuleBase_IPrefMgr.h
+ ModuleBase_IPropertyPanel.h
+ ModuleBase_ISelection.h
+ ModuleBase_IViewWindow.h
+ ModuleBase_IViewer.h
+ ModuleBase_IWidgetCreator.h
+ ModuleBase_IWorkshop.h
+ ModuleBase_ModelWidget.h
+ ModuleBase_Operation.h
+ ModuleBase_OperationAction.h
+ ModuleBase_OperationDescription.h
+ ModuleBase_OperationFeature.h
+ ModuleBase_PageBase.h
+ ModuleBase_PageGroupBox.h
+ ModuleBase_PageWidget.h
+ ModuleBase_PagedContainer.h
+ ModuleBase_ParamIntSpinBox.h
+ ModuleBase_ParamSpinBox.h
+ ModuleBase_Preferences.h
+ ModuleBase_ResultPrs.h
+ ModuleBase_SelectionValidator.h
+ ModuleBase_ToolBox.h
+ ModuleBase_Tools.h
+ ModuleBase_ViewerFilters.h
+ ModuleBase_ViewerPrs.h
+ ModuleBase_WidgetBoolValue.h
+ ModuleBase_WidgetCheckGroupBox.h
+ ModuleBase_WidgetChoice.h
+ ModuleBase_WidgetCreatorFactory.h
+ ModuleBase_WidgetDoubleValue.h
+ ModuleBase_WidgetEditor.h
+ ModuleBase_WidgetExprEditor.h
+ ModuleBase_WidgetFactory.h
+ ModuleBase_WidgetFileSelector.h
+ ModuleBase_WidgetIntValue.h
+ ModuleBase_WidgetLabel.h
+ ModuleBase_WidgetLineEdit.h
+ ModuleBase_WidgetMultiSelector.h
+ ModuleBase_WidgetSelector.h
+ ModuleBase_WidgetShapeSelector.h
+ ModuleBase_WidgetSwitch.h
+ ModuleBase_WidgetToolbox.h
+ ModuleBase_WidgetValidated.h
+ ModuleBase_IconFactory.h
+ ModuleBase_WidgetErrorLabel.h
)
SET(PROJECT_SOURCES
- ModuleBase_IOperation.cpp
- ModuleBase_Operation.cpp
- ModuleBase_OperationDescription.cpp
- ModuleBase_PropPanelOperation.cpp
- ModuleBase_WidgetFactory.cpp
- ModuleBase_WidgetPoint2D.cpp
- ModuleBase_WidgetSwitch.cpp
+ ModuleBase_ActionInfo.cpp
+ ModuleBase_DoubleSpinBox.cpp
+ ModuleBase_Filter.cpp
+ ModuleBase_FilterFactory.cpp
+ ModuleBase_FilterValidated.cpp
+ ModuleBase_IErrorMgr.cpp
+ ModuleBase_IModule.cpp
+ ModuleBase_IntSpinBox.cpp
+ ModuleBase_IPrefMgr.cpp
+ ModuleBase_IPropertyPanel.cpp
+ ModuleBase_ISelection.cpp
+ ModuleBase_IViewWindow.cpp
+ ModuleBase_IViewer.cpp
+ ModuleBase_IWidgetCreator.cpp
+ ModuleBase_IWorkshop.cpp
+ ModuleBase_ModelWidget.cpp
+ ModuleBase_Operation.cpp
+ ModuleBase_OperationAction.cpp
+ ModuleBase_OperationDescription.cpp
+ ModuleBase_OperationFeature.cpp
+ ModuleBase_PageBase.cpp
+ ModuleBase_PageGroupBox.cpp
+ ModuleBase_PageWidget.cpp
+ ModuleBase_PagedContainer.cpp
+ ModuleBase_ParamIntSpinBox.cpp
+ ModuleBase_ParamSpinBox.cpp
+ ModuleBase_Preferences.cpp
+ ModuleBase_ResultPrs.cpp
+ ModuleBase_ToolBox.cpp
+ ModuleBase_Tools.cpp
+ ModuleBase_ViewerFilters.cpp
+ ModuleBase_ViewerPrs.cpp
+ ModuleBase_WidgetBoolValue.cpp
+ ModuleBase_WidgetCheckGroupBox.cpp
+ ModuleBase_WidgetChoice.cpp
+ ModuleBase_WidgetCreatorFactory.cpp
+ ModuleBase_WidgetDoubleValue.cpp
+ ModuleBase_WidgetEditor.cpp
+ ModuleBase_WidgetExprEditor.cpp
+ ModuleBase_WidgetFactory.cpp
+ ModuleBase_WidgetFileSelector.cpp
+ ModuleBase_WidgetIntValue.cpp
+ ModuleBase_WidgetLabel.cpp
+ ModuleBase_WidgetLineEdit.cpp
+ ModuleBase_WidgetMultiSelector.cpp
+ ModuleBase_WidgetSelector.cpp
+ ModuleBase_WidgetShapeSelector.cpp
+ ModuleBase_WidgetSwitch.cpp
+ ModuleBase_WidgetToolbox.cpp
+ ModuleBase_WidgetValidated.cpp
+ ModuleBase_IconFactory.cpp
+ ModuleBase_WidgetErrorLabel.cpp
+ ModuleBase_SelectionValidator.cpp
)
SET(PROJECT_LIBRARIES
- Config
- ModelAPI
- ${QT_LIBRARIES}
+ Config
+ Events
+ ModelAPI
+ GeomAPI
+ GeomDataAPI
+ GeomAlgoAPI
+ ${QT_LIBRARIES}
+ ${CAS_VIEWER}
+ ${CAS_KERNEL}
+ ${CAS_SHAPE}
+ ${suit}
+ ${qtx}
+ ${ViewerData}
)
-SET(PROJECT_AUTOMOC
+SET(PROJECT_AUTOMOC
${CMAKE_CURRENT_BINARY_DIR}/ModuleBase_automoc.cpp
)
#SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
INCLUDE_DIRECTORIES(
+ ${CAS_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/Config
- ${CMAKE_SOURCE_DIR}/src/ModelAPI
- ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/Events
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
+ ${SUIT_INCLUDE}
)
-ADD_DEFINITIONS(-DMODULEBASE_EXPORTS)
+ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(ModuleBase SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-TARGET_LINK_LIBRARIES(ModuleBase ${PROJECT_LIBRARIES})
+TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})
-INSTALL(TARGETS ModuleBase DESTINATION bin)
+INSTALL(TARGETS ModuleBase DESTINATION ${SHAPER_INSTALL_BIN})