Salome HOME
e342254e55a9d60d6c91f5583d0f8b57a89c781e
[modules/gui.git] / src / GLViewer / GLViewer.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 = GLViewer
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 CASROOT = $$(CASROOT)
29 CAS_CPPFLAGS = $${CASROOT}/inc
30
31 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
32
33 GL_LIBS = -L/usr/X11R6/lib$$(LIB_LOCATION_SUFFIX) -lGLU
34
35 INCLUDEPATH += $$(QTDIR)/include/QtOpenGL ../../include $${CAS_CPPFLAGS} ../Qtx ../SUIT
36 LIBS += -L../../lib -lqtx -lsuit $${GL_LIBS} $${CAS_KERNEL}
37
38 CONFIG -= debug release debug_and_release
39 CONFIG += qt thread debug dll shared
40
41 win32:DEFINES += WIN32 
42 DEFINES += GLVIEWER_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
43
44 HEADERS  = GLViewer.h
45 HEADERS += GLViewer_AspectLine.h
46 HEADERS += GLViewer_BaseDrawers.h
47 HEADERS += GLViewer_BaseObjects.h
48 HEADERS += GLViewer_Compass.h
49 HEADERS += GLViewer_Context.h
50 HEADERS += GLViewer_CoordSystem.h
51 HEADERS += GLViewer_Defs.h
52 HEADERS += GLViewer_Drawer.h
53 HEADERS += GLViewer_Geom.h
54 HEADERS += GLViewer_Grid.h
55 HEADERS += GLViewer_Group.h
56 HEADERS += GLViewer_MimeData.h
57 HEADERS += GLViewer_Object.h
58 HEADERS += GLViewer_Selector.h
59 HEADERS += GLViewer_Selector2d.h
60 HEADERS += GLViewer_Text.h
61 HEADERS += GLViewer_Tools.h
62 HEADERS += GLViewer_ToolTip.h
63 HEADERS += GLViewer_ViewFrame.h
64 HEADERS += GLViewer_ViewManager.h
65 HEADERS += GLViewer_ViewPort.h
66 HEADERS += GLViewer_ViewPort2d.h
67 HEADERS += GLViewer_Viewer.h
68 HEADERS += GLViewer_Viewer2d.h
69 HEADERS += GLViewer_Widget.h
70
71 SOURCES  = GLViewer_AspectLine.cxx
72 SOURCES += GLViewer_BaseDrawers.cxx
73 SOURCES += GLViewer_BaseObjects.cxx
74 SOURCES += GLViewer_Compass.cxx
75 SOURCES += GLViewer_Context.cxx
76 SOURCES += GLViewer_CoordSystem.cxx
77 SOURCES += GLViewer_Drawer.cxx
78 SOURCES += GLViewer_Geom.cxx
79 SOURCES += GLViewer_Grid.cxx
80 SOURCES += GLViewer_Group.cxx
81 SOURCES += GLViewer_MimeData.cxx
82 SOURCES += GLViewer_Object.cxx
83 SOURCES += GLViewer_Selector.cxx
84 SOURCES += GLViewer_Selector2d.cxx
85 SOURCES += GLViewer_Text.cxx
86 SOURCES += GLViewer_Tools.cxx
87 SOURCES += GLViewer_ToolTip.cxx
88 SOURCES += GLViewer_ViewFrame.cxx
89 SOURCES += GLViewer_ViewManager.cxx
90 SOURCES += GLViewer_ViewPort.cxx
91 SOURCES += GLViewer_ViewPort2d.cxx
92 SOURCES += GLViewer_Viewer.cxx
93 SOURCES += GLViewer_Viewer2d.cxx
94 SOURCES += GLViewer_Widget.cxx
95
96 TRANSLATIONS = resources/GLViewer_images.ts \
97                resources/GLViewer_msg_en.ts
98
99 ICONS   = resources/*.png
100
101 includes.files = $$HEADERS
102 includes.path = ../../include
103
104 resources.files = $$ICONS resources/*.qm
105 resources.path = ../../resources
106
107 INSTALLS += includes resources