From: kan Date: Wed, 22 Dec 2010 18:33:49 +0000 (+0000) Subject: Suse build X-Git-Tag: DIAGRAM_0_1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=904efc64b7819789139f445824c1d04d9a5a928a;p=modules%2Fgui.git Suse build --- diff --git a/adm_local/unix/config_files/check_GraphicsView.m4 b/adm_local/unix/config_files/check_GraphicsView.m4 new file mode 100644 index 000000000..9082b9424 --- /dev/null +++ b/adm_local/unix/config_files/check_GraphicsView.m4 @@ -0,0 +1,25 @@ +# +# Check configure option --disable-graphicsView=[yes|no|DIR] taking into account that +# DISABLE_GRAPHICSVIEW may be already set during build_configure, +# Set DISABLE_GRAPHICSVIEW to yes|no +# +# Author : Kirill Afonshin (DTN, 2010) +# + +AC_DEFUN([CHECK_GRAPHICSVIEW],[ + +AC_ARG_WITH(graphicsView, + [ --disable-graphicsView default=no ], + disable_graphicsView="$withval",disable_graphicsView="${DISABLE_GRAPHICSVIEW}") + +case $disable_graphicsView in + yes) +# AC_MSG_RESULT(************************************************) +# AC_MSG_RESULT(***** DISABLE GraphicsView configuration *****) +# AC_MSG_RESULT(************************************************) + DISABLE_GRAPHICSVIEW="yes" + AC_SUBST(DISABLE_GRAPHICSVIEW) +esac + + +])dnl diff --git a/src/GraphicsView/GraphicsView.pro b/src/GraphicsView/GraphicsView.pro new file mode 100644 index 000000000..23b934426 --- /dev/null +++ b/src/GraphicsView/GraphicsView.pro @@ -0,0 +1,49 @@ +TEMPLATE = lib +TARGET = GraphicsView +DESTDIR = ../../lib +MOC_DIR = ../../moc +OBJECTS_DIR = ../../obj/$$TARGET + +INCLUDEPATH += ../../include ../Qtx ../SUIT +LIBS += -L../../lib -lqtx -lsuit + +CONFIG -= debug release debug_and_release +CONFIG += qt thread debug dll shared + +win32:DEFINES += WIN32 +DEFINES += GRAPHICSVIEW_EXPORTS LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H + +HEADERS = GraphicsView.h +HEADERS += GraphicsView_Defs.h +HEADERS += GraphicsView_Scene.h +HEADERS += GraphicsView_Viewer.h +HEADERS += GraphicsView_ViewManager.h +HEADERS += GraphicsView_ViewTransformer.h +HEADERS += GraphicsView_Geom.h +HEADERS += GraphicsView_Object.h +HEADERS += GraphicsView_Selector.h +HEADERS += GraphicsView_ViewFrame.h +HEADERS += GraphicsView_ViewPort.h + +SOURCES = GraphicsView_Object.cxx +SOURCES += GraphicsView_Selector.cxx +SOURCES += GraphicsView_ViewFrame.cxx +SOURCES += GraphicsView_ViewPort.cxx +SOURCES += GraphicsView_Scene.cxx +SOURCES += GraphicsView_Viewer.cxx +SOURCES += GraphicsView_ViewManager.cxx +SOURCES += GraphicsView_ViewTransformer.cxx + +TRANSLATIONS = resources/GraphicsView_images.ts \ + resources/GraphicsView_msg_en.ts + +ICONS = resources/*.png + +includes.files = $$HEADERS +includes.path = ../../include + +resources.files = $$ICONS resources/*.qm +resources.path = ../../resources + +INSTALLS += includes resources + diff --git a/src/GraphicsView/Makefile.am b/src/GraphicsView/Makefile.am new file mode 100644 index 000000000..f57159c8b --- /dev/null +++ b/src/GraphicsView/Makefile.am @@ -0,0 +1,78 @@ +# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA 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. +# +# 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 +# +# File : Makefile.in +# Author : Vladimir Klyachin (OCN) +# Module : caf +# $Header$ + +include $(top_srcdir)/adm_local/unix/make_common_starter.am + +lib_LTLIBRARIES = libGraphicsView.la + +salomeinclude_HEADERS = \ +GraphicsView_Defs.h \ +GraphicsView_Geom.h \ +GraphicsView.h \ +GraphicsView_Object.h \ +GraphicsView_Scene.h \ +GraphicsView_Selector.h \ +GraphicsView_Viewer.h \ +GraphicsView_ViewFrame.h \ +GraphicsView_ViewManager.h \ +GraphicsView_ViewPort.h \ +GraphicsView_ViewTransformer.h + +dist_libGraphicsView_la_SOURCES = \ +GraphicsView_Object.cxx \ +GraphicsView_Scene.cxx \ +GraphicsView_Selector.cxx \ +GraphicsView_Viewer.cxx \ +GraphicsView_ViewFrame.cxx \ +GraphicsView_ViewManager.cxx \ +GraphicsView_ViewPort.cxx \ +GraphicsView_ViewTransformer.cxx + +MOC_FILES = \ +GraphicsView_ViewManager_moc.cxx \ +GraphicsView_Viewer_moc.cxx \ +GraphicsView_ViewFrame_moc.cxx \ +GraphicsView_Selector_moc.cxx \ +GraphicsView_ViewPort_moc.cxx \ +GraphicsView_Scene_moc.cxx + +nodist_libGraphicsView_la_SOURCES = $(MOC_FILES) + +dist_salomeres_DATA = \ +resources/graphics_view_cursor_zoom.png \ +resources/graphics_view_dump.png \ +resources/graphics_view_fitall.png \ +resources/graphics_view_fitarea.png \ +resources/graphics_view_fitselect.png \ +resources/graphics_view_glpan.png \ +resources/graphics_view_pan.png \ +resources/graphics_view_reset.png \ +resources/graphics_view_zoom.png + +nodist_salomeres_DATA = \ + GraphicsView_images.qm \ + GraphicsView_msg_en.qm + +libGraphicsView_la_CPPFLAGS = $(QT_INCLUDES) -I$(srcdir)/../SUIT -I$(srcdir)/../Qtx +libGraphicsView_la_LDFLAGS = $(QT_MT_LIBS) +libGraphicsView_la_LIBADD = ../SUIT/libsuit.la