Salome HOME
0d7fb63f15b6d4306f4da06360ce4f5e3cada843
[modules/gui.git] / src / VTKViewer / VTKViewer.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 = VTKViewer
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 VTKHOME = $$(VTKHOME)
29 VTK_INCLUDES = $${VTKHOME}/include/vtk
30
31 VTK_LIBS = -L$${VTKHOME}/lib/vtk -L$${VTKHOME}/lib/vtk/python -lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid -lvtkParallel -lvtkWidgets   -lGL -L/usr/X11R6/lib -lGLU -L/usr/X11R6/lib -lX11 -lXt
32
33 CASROOT = $$(CASROOT)
34 CAS_CPPFLAGS = $${CASROOT}/inc
35
36 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
37
38 INCLUDEPATH += ../../include $${VTK_INCLUDES} $${CAS_CPPFLAGS} ../Qtx ../SUIT
39 LIBS += -L../../lib -lqtx -lsuit $${VTK_LIBS} $${CAS_KERNEL}
40
41 CONFIG -= debug release debug_and_release
42 CONFIG += qt thread debug dll shared
43
44 win32:DEFINES += WIN32 
45 DEFINES += VTKVIEWER_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
46
47 HEADERS  = VTKViewer.h
48 HEADERS += VTKViewer_CellLocationsArray.h
49 HEADERS += VTKViewer_Actor.h
50 HEADERS += VTKViewer_ExtractUnstructuredGrid.h
51 HEADERS += VTKViewer_ConvexTool.h
52 HEADERS += VTKViewer_Filter.h
53 HEADERS += VTKViewer_GeometryFilter.h
54 HEADERS += VTKViewer_AppendFilter.h
55 HEADERS += VTKViewer_Algorithm.h
56 HEADERS += VTKViewer_InteractorStyle.h
57 HEADERS += VTKViewer_RenderWindow.h
58 HEADERS += VTKViewer_RenderWindowInteractor.h
59 HEADERS += VTKViewer_ShrinkFilter.h
60 HEADERS += VTKViewer_TransformFilter.h
61 HEADERS += VTKViewer_Transform.h
62 HEADERS += VTKViewer_Trihedron.h
63 HEADERS += VTKViewer_Utilities.h
64 HEADERS += VTKViewer_ViewManager.h
65 HEADERS += VTKViewer_ViewModel.h
66 HEADERS += VTKViewer_ViewWindow.h
67 HEADERS += VTKViewer_Functor.h
68
69 SOURCES  = VTKViewer_CellLocationsArray.cxx
70 SOURCES += VTKViewer_Actor.cxx
71 SOURCES += VTKViewer_ExtractUnstructuredGrid.cxx
72 SOURCES += VTKViewer_Filter.cxx
73 SOURCES += VTKViewer_GeometryFilter.cxx
74 SOURCES += VTKViewer_AppendFilter.cxx
75 SOURCES += VTKViewer_InteractorStyle.cxx
76 SOURCES += VTKViewer_RenderWindow.cxx
77 SOURCES += VTKViewer_RenderWindowInteractor.cxx
78 SOURCES += VTKViewer_ShrinkFilter.cxx
79 SOURCES += VTKViewer_Transform.cxx
80 SOURCES += VTKViewer_TransformFilter.cxx
81 SOURCES += VTKViewer_Trihedron.cxx
82 SOURCES += VTKViewer_Utilities.cxx
83 SOURCES += VTKViewer_ViewManager.cxx
84 SOURCES += VTKViewer_ViewModel.cxx
85 SOURCES += VTKViewer_ConvexTool.cxx
86 SOURCES += VTKViewer_ViewWindow.cxx
87
88 TRANSLATIONS = resources/VTKViewer_images.ts \
89                resources/VTKViewer_msg_en.ts
90
91 ICONS   = resources/*.png
92
93 includes.files = $$HEADERS
94 includes.path = ../../include
95
96 resources.files = $$ICONS resources/*.qm
97 resources.path = ../../resources
98
99 INSTALLS += includes resources