X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FCMakeLists.txt;h=d9178afe1674ec1a03558eba3672fa07903239fc;hb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;hp=3a62858820ff7f4de2c0215aa08da3ae184d6769;hpb=a50d298cf3f55609f4a143a243a66ba140f89683;p=modules%2Fshaper.git diff --git a/src/XGUI/CMakeLists.txt b/src/XGUI/CMakeLists.txt index 3a6285882..d9178afe1 100644 --- a/src/XGUI/CMakeLists.txt +++ b/src/XGUI/CMakeLists.txt @@ -1,22 +1,21 @@ -## Copyright (C) 2014-2017 CEA/DEN, EDF R&D -## -## 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, 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 -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -## -## See http:##www.salome-platform.org/ or -## email : webmaster.salome@opencascade.com -## +# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# +# 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, 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 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# INCLUDE(UseQtExt) @@ -55,12 +54,15 @@ SET(PROJECT_HEADERS XGUI_SalomeConnector.h XGUI_Selection.h XGUI_SelectionActivate.h + XGUI_SelectionFilterType.h XGUI_SelectionMgr.h XGUI_Tools.h XGUI_TransparencyWidget.h XGUI_ViewerProxy.h XGUI_Workshop.h XGUI_WorkshopListener.h + XGUI_InspectionPanel.h + XGUI_CompressFiles.h ) SET(PROJECT_MOC_HEADERS @@ -88,6 +90,7 @@ SET(PROJECT_MOC_HEADERS XGUI_ViewerProxy.h XGUI_Workshop.h XGUI_WorkshopListener.h + XGUI_InspectionPanel.h ) # sources / moc wrappings @@ -126,6 +129,8 @@ SET(PROJECT_SOURCES XGUI_ViewerProxy.cpp XGUI_Workshop.cpp XGUI_WorkshopListener.cpp + XGUI_InspectionPanel.cpp + XGUI_CompressFiles.cpp ) SET(PROJECT_RESOURCES @@ -146,9 +151,8 @@ SET(PROJECT_LIBRARIES ModelAPI ModuleBase ${QT_LIBRARIES} - ${CAS_VIEWER} - ${CAS_KERNEL} - ${CAS_SHAPE} + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_Visualization_LIBRARIES} ${PYTHON_LIBRARIES} ${PyConsole} ${PyInterp} @@ -180,7 +184,7 @@ SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESO #SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES}) SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES} ${PREFERENCES_XML}) -ADD_DEFINITIONS( -DXGUI_EXPORTS ${CAS_DEFINITIONS} -D_CRT_SECURE_NO_WARNINGS) +ADD_DEFINITIONS( -DXGUI_EXPORTS ${OpenCASCADE_DEFINITIONS} -D_CRT_SECURE_NO_WARNINGS) SET(PROJECT_INCLUDES ${PROJECT_SOURCE_DIR}/src/Events @@ -189,7 +193,7 @@ SET(PROJECT_INCLUDES ${PROJECT_SOURCE_DIR}/src/GeomAPI ${PROJECT_SOURCE_DIR}/src/ModuleBase ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI - ${CAS_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${SUIT_INCLUDE}) IF(${HAVE_SALOME})