Salome HOME
deff370849d0b2d9266d978c939282011363b832
[modules/gui.git] / src / QxGraph / QxGraph.pro
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 TEMPLATE = lib
23 TARGET = QxGraph
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
29
30 CASROOT = $$(CASROOT)
31 CAS_CPPFLAGS = $${CASROOT}/inc
32
33 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
34
35 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
36
37 QT_MT_LIBS = -L$$(QTDIR)/lib -lQtCore -lQtXml -lQtGui -lQtOpenGL
38
39 INCLUDEPATH += $${QT_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} ../Qtx ../SUIT
40
41 LIBS += $${QT_MT_LIBS} -L../../lib -lsuit
42
43 CONFIG -= debug release debug_and_release
44 CONFIG += qt thread debug dll shared
45
46 win32:DEFINES += WIN32 
47 DEFINES += QXGRAPH_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
48
49 HEADERS  = QxGraph_ActiveItem.h
50 HEADERS += QxGraph_Prs.h
51 HEADERS += QxGraph_Canvas.h
52 HEADERS += QxGraph_CanvasView.h
53 HEADERS += QxGraph_ViewWindow.h
54 HEADERS += QxGraph_ViewManager.h
55 HEADERS += QxGraph_ViewModel.h
56 HEADERS += QxGraph_Def.h
57 HEADERS += QxGraph.h
58
59 SOURCES  = QxGraph_Prs.cxx
60 SOURCES += QxGraph_Canvas.cxx
61 SOURCES += QxGraph_CanvasView.cxx
62 SOURCES += QxGraph_ViewWindow.cxx
63 SOURCES += QxGraph_ViewManager.cxx
64 SOURCES += QxGraph_ViewModel.cxx
65
66 TRANSLATIONS = resources/QxGraph_images.ts \
67                resources/QxGraph_msg_en.ts
68
69 ICONS   = resources/*.png
70
71 includes.files = $$HEADERS
72 includes.path = ../../include
73
74 resources.files = $$ICONS resources/*.qm
75 resources.path = ../../resources
76
77 INSTALLS += includes resources