Salome HOME
Implementation of "Import" BREP and STEP functionality
[modules/shaper.git] / src / ModuleBase / CMakeLists.txt
index 4593a68fe499a7c5c8ed37b28979c1f9d8238bc9..f65d8c989d17dc212b2846d91d41ac77f274631e 100644 (file)
@@ -4,16 +4,28 @@ SET(CMAKE_AUTOMOC ON)
 SET(PROJECT_HEADERS
        ModuleBase.h
        ModuleBase_IOperation.h
+       ModuleBase_IModule.h
        ModuleBase_Operation.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_SelectorWidget.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
@@ -23,15 +35,23 @@ SET(PROJECT_SOURCES
        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_SelectorWidget.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}
@@ -54,10 +74,11 @@ INCLUDE_DIRECTORIES(
     ${CMAKE_SOURCE_DIR}/src/Model
     ${CMAKE_SOURCE_DIR}/src/ModelAPI
     ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
+    ${CMAKE_SOURCE_DIR}/src/GeomAPI
 )
 
 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)