Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/gui.git] / src / OCCViewer / OCCViewer.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 = OCCViewer
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 OGL_INCLUDES = 
29
30 OGL_LIBS = -lGL -L/usr/X11R6/lib -lGLU
31
32 CASROOT = $$(CASROOT)
33 CAS_CPPFLAGS = $${CASROOT}/inc
34
35 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
36
37 CAS_VIEWER = -L$${CASROOT}/Linux/lib -lTKV3d -lTKService
38
39 INCLUDEPATH += ../../include $${OGL_INCLUDES} $${CAS_CPPFLAGS} ../Qtx ../SUIT
40 LIBS += -L../../lib -lqtx -lsuit $${OGL_LIBS} $${CAS_KERNEL} $${CAS_VIEWER}
41
42 CONFIG -= debug release debug_and_release
43 CONFIG += qt thread debug dll shared
44
45 win32:DEFINES += WIN32 
46 DEFINES += OCCVIEWER_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
47
48 HEADERS  = OCCViewer_AISSelector.h
49 HEADERS += OCCViewer_ViewManager.h
50 HEADERS += OCCViewer_ViewModel.h
51 HEADERS += OCCViewer_ViewPort3d.h
52 HEADERS += OCCViewer_ViewPort.h
53 HEADERS += OCCViewer_ViewWindow.h
54 HEADERS += OCCViewer_VService.h
55 HEADERS += OCCViewer_CreateRestoreViewDlg.h
56 HEADERS += OCCViewer.h
57 HEADERS += OCCViewer_ClippingDlg.h
58 HEADERS += OCCViewer_SetRotationPointDlg.h
59
60 SOURCES  = OCCViewer_AISSelector.cxx
61 SOURCES += OCCViewer_ViewManager.cxx
62 SOURCES += OCCViewer_ViewModel.cxx
63 SOURCES += OCCViewer_ViewPort3d.cxx
64 SOURCES += OCCViewer_ViewPort.cxx
65 SOURCES += OCCViewer_ViewWindow.cxx
66 SOURCES += OCCViewer_VService.cxx
67 SOURCES += OCCViewer_CreateRestoreViewDlg.cxx
68 SOURCES += OCCViewer_SetRotationPointDlg.cxx
69 SOURCES += OCCViewer_ClippingDlg.cxx
70
71 TRANSLATIONS = resources/OCCViewer_images.ts \
72                resources/OCCViewer_msg_en.ts
73
74 ICONS   = resources/*.png
75
76 includes.files = $$HEADERS
77 includes.path = ../../include
78
79 resources.files = $$ICONS resources/*.qm
80 resources.path = ../../resources
81
82 INSTALLS += includes resources