-## 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<mailto: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)
SHAPERGUI_OCCSelector.h
SHAPERGUI_SalomeViewer.h
SHAPERGUI_NestedButton.h
+ SHAPERGUI_ToolbarsMgr.h
)
SET(PROJECT_MOC_HEADERS
SHAPERGUI_DataModel.h
SHAPERGUI_NestedButton.h
SHAPERGUI_SalomeViewer.h
+ SHAPERGUI_ToolbarsMgr.h
)
# sources / moc wrappings
SHAPERGUI_OCCSelector.cpp
SHAPERGUI_SalomeViewer.cpp
SHAPERGUI_NestedButton.cpp
+ SHAPERGUI_ToolbarsMgr.cpp
)
SET(PROJECT_RESOURCES
${CMAKE_CURRENT_BINARY_DIR}/LightApp.xml
- ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml
+ resources/SalomeApp.xml
resources/shaper.png
)
${CAM}
${OCCViewer}
${qtx}
- ${CAS_SHAPE}
+ ${SalomeObject}
)
-ADD_DEFINITIONS( -DSHAPERGUI_EXPORTS ${CAS_DEFINITIONS} )
+ADD_DEFINITIONS( -DSHAPERGUI_EXPORTS ${OpenCASCADE_DEFINITIONS} )
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/XGUI
${PROJECT_SOURCE_DIR}/src/Events
${PROJECT_SOURCE_DIR}/src/ExchangePlugin
${SALOME_GUI_INCLUDE}
${SALOME_KERNEL_INCLUDE}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
)
IF(${HAVE_SALOME})
"${CMAKE_CURRENT_SOURCE_DIR}/resources/LightApp.xml.in"
"${CMAKE_CURRENT_BINARY_DIR}/LightApp.xml"
)
-CONFIGURE_FILE(
- "${CMAKE_CURRENT_SOURCE_DIR}/resources/SalomeApp.xml.in"
- "${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml"
- )
INSTALL(TARGETS SHAPER DESTINATION ${SHAPER_INSTALL_BIN})
INSTALL(FILES ${PROJECT_RESOURCES} DESTINATION ${SHAPER_INSTALL_RESOURCES})