SET(CAS_VIEWER ${CAS_TKService} ${CAS_TKV3d} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKBRep})
SET(CAS_OCAFVIS ${CAS_TKCAF} ${CAS_TKBRep} ${CAS_TKG2d})
SET(CAS_MODELER ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${CAS_TKBRep} ${CAS_TKTopAlgo} ${CAS_TKG2d})
+# TODO(mpv, vsv) Give a proper name for the following variable
SET(CAS_SHAPE ${CAS_TKShHealing} ${CAS_TKMesh} ${CAS_TKHLR})
+
SET(CAS_TKV3d_EA ${CAS_TKernel} ${CAS_TKMath} ${CAS_TKV3d})
SET(CAS_TKBool_EA ${CAS_TKernel} ${CAS_TKMath} ${CAS_TKBRep} ${CAS_TKG2d} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${CAS_TKTopAlgo} ${CAS_TKBool})
SET(CAS_TKBRep_EA ${CAS_TKernel} ${CAS_TKMath} ${CAS_TKBRep})
point_widget.xml
)
+SET(PROJECT_LIBRARIES
+ ModelAPI
+ GeomAPI
+ GeomAlgoAPI
+ ${CAS_KERNEL}
+ ${CAS_SHAPE}
+)
+
ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
-TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
+TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES})
INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
GeomAPI
${CAS_OCAF}
${CAS_TKCAF}
+ ${CAS_SHAPE}
+ ${CAS_TKBO}
)
ADD_DEFINITIONS(-DEXCHANGEPLUGIN_EXPORTS ${CAS_DEFINITIONS})
../GeomAlgoAPI
)
+SET(PROJECT_LIBRARIES
+ ModelAPI
+ GeomAPI
+ GeomAlgoAPI
+ ${CAS_KERNEL}
+ ${CAS_SHAPE}
+)
+
ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
ADD_LIBRARY(FeaturesPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
-TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
+TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
INSTALL(TARGETS FeaturesPlugin DESTINATION plugins)
INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
GeomAPI_Curve.cpp
)
+SET(PROJECT_LIBRARIES
+ ${CAS_KERNEL}
+ ${CAS_MODELER}
+ ${CAS_VIEWER}
+ ${CAS_SHAPE}
+)
+
ADD_DEFINITIONS(-DGEOMAPI_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(GeomAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
${CAS_INCLUDE_DIRS}
)
-TARGET_LINK_LIBRARIES(GeomAPI ${PROJECT_LIBRARIES} ${CAS_KERNEL} ${CAS_MODELER} ${CAS_VIEWER})
+TARGET_LINK_LIBRARIES(GeomAPI ${PROJECT_LIBRARIES})
SET(SWIG_SCRIPTS
${CMAKE_CURRENT_BINARY_DIR}/GeomAPI.py
GeomAlgoAPI_Boolean.cpp
)
+SET(PROJECT_LIBRARIES
+ GeomAPI
+ ${CAS_TKBool}
+ ${CAS_TKBO}
+ ${CAS_TKPrim}
+ ${CAS_SHAPE}
+)
+
ADD_DEFINITIONS(-DGEOMALGOAPI_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(GeomAlgoAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
${CAS_INCLUDE_DIRS}
)
-TARGET_LINK_LIBRARIES(GeomAlgoAPI ${PROJECT_LIBRARIES} GeomAPI ${CAS_TKBool} ${CAS_TKBO} ${CAS_TKPrim})
+TARGET_LINK_LIBRARIES(GeomAlgoAPI ${PROJECT_LIBRARIES})
SET(SWIG_SCRIPTS
${CMAKE_CURRENT_BINARY_DIR}/GeomAlgoAPI.py
GeomData_Point2D.cpp
)
+SET(PROJECT_LIBRARIES
+ ModelAPI
+ GeomAPI
+ Events
+ ${CAS_OCAF}
+ ${CAS_SHAPE}
+)
+
ADD_DEFINITIONS(-DGEOMDATA_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
ADD_LIBRARY(GeomData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-TARGET_LINK_LIBRARIES(GeomData ${PROJECT_LIBRARIES} ${CAS_OCAF} ModelAPI GeomAPI Events)
+TARGET_LINK_LIBRARIES(GeomData ${PROJECT_LIBRARIES})
INCLUDE_DIRECTORIES(
../ModelAPI
GeomAPI
${CAS_OCAF}
${CAS_TKCAF}
+ ${CAS_SHAPE}
+ ${CAS_TKBO}
)
ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
-ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
+ADD_LIBRARY(Model MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS})
TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
INCLUDE_DIRECTORIES(
${QT_LIBRARIES}
${CAS_VIEWER}
${CAS_KERNEL}
+ ${CAS_SHAPE}
)
SET(PROJECT_AUTOMOC
${CAM}
${OCCViewer}
${qtx}
+ ${CAS_SHAPE}
)
ADD_DEFINITIONS( -DNewGeom_EXPORTS ${CAS_DEFINITIONS} )
GeomAPI
GeomAlgoAPI
ModelAPI
+ ${CAS_KERNEL}
+ ${CAS_SHAPE}
)
SET(XML_RESOURCES
${QT_LIBRARIES}
${CAS_VIEWER}
${CAS_KERNEL}
+ ${CAS_SHAPE}
${PYTHON_LIBRARIES}
${PyConsole}
${PyInterp}