X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FCMakeLists.txt;h=4c06e43e343bbef524503c91f54c8504c457de47;hb=2ca8be5b9d184c33cbfd78b1259638f340eeb017;hp=1669689c0c7bea294a354140abb2c186770f7e89;hpb=2af0a78ca612a60f2a54f1269cea3344d823b400;p=modules%2Fshaper.git diff --git a/src/ModuleBase/CMakeLists.txt b/src/ModuleBase/CMakeLists.txt index 1669689c0..4c06e43e3 100644 --- a/src/ModuleBase/CMakeLists.txt +++ b/src/ModuleBase/CMakeLists.txt @@ -2,30 +2,63 @@ INCLUDE(Common) SET(CMAKE_AUTOMOC ON) SET(PROJECT_HEADERS - ModuleBase.h + ModuleBase.h + ModuleBase_IOperation.h + ModuleBase_IModule.h ModuleBase_Operation.h - ModuleBase_PropPanelOperation.h - ModuleBase_WidgetCustom.h + ModuleBase_OperationDescription.h + ModuleBase_ModelWidget.h + ModuleBase_WidgetBoolValue.h + ModuleBase_WidgetDoubleValue.h + ModuleBase_WidgetEditor.h ModuleBase_WidgetFactory.h + ModuleBase_WidgetFeature.h + ModuleBase_WidgetFeatureOrAttribute.h ModuleBase_WidgetPoint2D.h ModuleBase_WidgetSwitch.h - ModuleBase_IModelWidget.h - ModuleBase_MetaWidget.h + ModuleBase_WidgetShapeSelector.h + ModuleBase_IWorkshop.h + ModuleBase_WidgetPoint2dDistance.h + ModuleBase_WidgetValue.h + ModuleBase_WidgetValueFeature.h + ModuleBase_Definitions.h + ModuleBase_SelectionValidator.h + ModuleBase_ISelection.h + ModuleBase_ViewerPrs.h + ModuleBase_WidgetChoice.h + ModuleBase_WidgetFileSelector.h + ModuleBase_DoubleSpinBox.h ) SET(PROJECT_SOURCES + ModuleBase_IOperation.cpp ModuleBase_Operation.cpp - ModuleBase_PropPanelOperation.cpp + ModuleBase_OperationDescription.cpp + ModuleBase_ModelWidget.cpp + ModuleBase_WidgetBoolValue.cpp + ModuleBase_WidgetDoubleValue.cpp + ModuleBase_WidgetEditor.cpp ModuleBase_WidgetFactory.cpp + ModuleBase_WidgetFeature.cpp + ModuleBase_WidgetFeatureOrAttribute.cpp ModuleBase_WidgetPoint2D.cpp ModuleBase_WidgetSwitch.cpp - ModuleBase_MetaWidget.cpp + ModuleBase_WidgetShapeSelector.cpp + ModuleBase_WidgetPoint2dDistance.cpp + ModuleBase_WidgetValue.cpp + ModuleBase_WidgetValueFeature.cpp + ModuleBase_WidgetChoice.cpp + ModuleBase_WidgetFileSelector.cpp + ModuleBase_DoubleSpinBox.cpp ) SET(PROJECT_LIBRARIES Config ModelAPI + GeomAPI ${QT_LIBRARIES} + ${CAS_VIEWER} + ${CAS_KERNEL} ) SET(PROJECT_AUTOMOC @@ -39,13 +72,17 @@ SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESO #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES}) INCLUDE_DIRECTORIES( - ${PROJECT_SOURCE_DIR}/src/Config + ${CAS_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/src/Config + ${CMAKE_SOURCE_DIR}/src/Events + ${CMAKE_SOURCE_DIR}/src/Model ${CMAKE_SOURCE_DIR}/src/ModelAPI ${CMAKE_SOURCE_DIR}/src/GeomDataAPI + ${CMAKE_SOURCE_DIR}/src/GeomAPI ) -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)