Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / PartSet / CMakeLists.txt
index 36a107106353e992d9eff7a8b21446ae7d5d8aea..0defdd96f8c6bd0952d9ee41db67119299f063e9 100644 (file)
@@ -43,7 +43,6 @@ SET(PROJECT_HEADERS
     PartSet_PreviewPlanes.h
     PartSet_PreviewSketchPlane.h
     PartSet_ResultSketchPrs.h
-    PartSet_SelectionFilterType.h
     PartSet_SketcherMgr.h
     PartSet_SketcherReentrantMgr.h
     PartSet_Tools.h
@@ -59,6 +58,7 @@ SET(PROJECT_HEADERS
     PartSet_WidgetSketchLabel.h
     PartSet_CenterPrs.h
     PartSet_ExternalPointsMgr.h
+       PartSet_TreeNodes.h
 )
 
 SET(PROJECT_MOC_HEADERS
@@ -107,6 +107,7 @@ SET(PROJECT_SOURCES
     PartSet_WidgetSketchLabel.cpp
     PartSet_CenterPrs.cpp
     PartSet_ExternalPointsMgr.cpp
+       PartSet_TreeNodes.cpp
 )
 
 SET(PROJECT_RESOURCES
@@ -125,8 +126,7 @@ SET(PROJECT_LIBRARIES
     GeomDataAPI
     SketcherPrs
     ${QT_LIBRARIES}
-    ${CAS_KERNEL}
-    ${CAS_SHAPE}
+    ${OpenCASCADE_FoundationClasses_LIBRARIES}
 )
 
 # sources / moc wrappings
@@ -160,7 +160,8 @@ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/XGUI
                     ${PROJECT_SOURCE_DIR}/src/FeaturesPlugin
                     ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
                     ${PROJECT_SOURCE_DIR}/src/GeomAPI
-                    ${CAS_INCLUDE_DIRS}
+                    ${PROJECT_SOURCE_DIR}/src/CollectionPlugin
+                    ${OpenCASCADE_INCLUDE_DIR}
                     ${SUIT_INCLUDE}
 )
 
@@ -171,7 +172,7 @@ ELSE(${HAVE_SALOME})
 ENDIF(${HAVE_SALOME})
 
 
-ADD_DEFINITIONS(-DPARTSET_EXPORTS ${CAS_DEFINITIONS})
+ADD_DEFINITIONS(-DPARTSET_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(PartSet SHARED
     ${PROJECT_SOURCES}
     ${PROJECT_HEADERS}