X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FCMakeLists.txt;h=8f31976f01dec73eb86872866df387c9f2917cae;hb=6d32f944a0a115b6419184c50b57bf7c4eef5786;hp=64350a8fda0e1df491a8265b186d3bdf6dba0644;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445;p=modules%2Fsmesh.git diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 64350a8fd..8f31976f0 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2019 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,13 +20,12 @@ # --- options --- # additional include directories INCLUDE_DIRECTORIES( - ${QT_INCLUDES} ${KERNEL_INCLUDE_DIRS} ${GUI_INCLUDE_DIRS} ${MEDFILE_INCLUDE_DIRS} ${QWT_INCLUDE_DIR} ${GEOM_INCLUDE_DIRS} - ${CAS_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${VTK_INCLUDE_DIRS} ${OMNIORB_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} @@ -43,7 +42,7 @@ INCLUDE_DIRECTORIES( # additional preprocessor / compiler flags ADD_DEFINITIONS( - ${CAS_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS} ${OMNIORB_DEFINITIONS} ) @@ -52,7 +51,7 @@ ADD_DEFINITIONS( SET(_link_LIBRARIES ${QT_LIBRARIES} ${VTK_LIBRARIES} - ${CAS_KERNEL} + ${OpenCASCADE_KERNEL} ${GEOM_GEOMObject} ${GUI_SalomeApp} ${GUI_SalomeObject} @@ -61,13 +60,18 @@ SET(_link_LIBRARIES ${GUI_qtx} ${GUI_suit} ${GUI_std} - ${GUI_Plot2d} - ${GUI_SPlot2d} SMESHClient SMDS SMESHControls ) +IF(SALOME_USE_PLOT2DVIEWER) + LIST(APPEND _link_LIBRARIES + ${GUI_Plot2d} + ${GUI_SPlot2d} + ) +ENDIF() + # --- headers --- # header files / no moc processing @@ -75,6 +79,7 @@ SET(SMESHObject_HEADERS SMESH_Actor.h SMESH_Object.h SMESH_ObjectDef.h + SMESH_ActorProps.h SMESH_ActorUtils.h SMESH_ActorDef.h SMESH_DeviceActor.h @@ -94,6 +99,7 @@ SET(SMESHObject_SOURCES SMESH_Object.cxx SMESH_DeviceActor.cxx SMESH_Actor.cxx + SMESH_ActorProps.cxx SMESH_PreviewActorsCollection.cxx SMESH_ExtractGeometry.cxx SMESH_ActorUtils.cxx