X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FCMakeLists.txt;h=f65d8c989d17dc212b2846d91d41ac77f274631e;hb=b97f4d67421685f99412ee79484c7a8482da1d2e;hp=116353000eccf4a1440a1d408b35ebb0bd9ae324;hpb=622014f62af50bfd219fb242df168760849e2006;p=modules%2Fshaper.git diff --git a/src/ModuleBase/CMakeLists.txt b/src/ModuleBase/CMakeLists.txt index 116353000..f65d8c989 100644 --- a/src/ModuleBase/CMakeLists.txt +++ b/src/ModuleBase/CMakeLists.txt @@ -2,27 +2,59 @@ 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_WidgetSelector.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_WidgetFileSelector.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_WidgetSelector.cpp + ModuleBase_WidgetPoint2dDistance.cpp + ModuleBase_WidgetValue.cpp + ModuleBase_WidgetValueFeature.cpp + ModuleBase_WidgetFileSelector.cpp ) SET(PROJECT_LIBRARIES Config ModelAPI + GeomAPI ${QT_LIBRARIES} + ${CAS_VIEWER} + ${CAS_KERNEL} ) SET(PROJECT_AUTOMOC @@ -36,13 +68,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)