]> SALOME platform Git repositories - modules/gui.git/blob - src/SVTK/SVTK.pro
Salome HOME
8567a0872afd04910b93e51abd89360655ba98b9
[modules/gui.git] / src / SVTK / SVTK.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 = SVTK
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 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
37
38 OCC_LIBS = 
39
40 INCLUDEPATH += ../../include $${CAS_CPPFLAGS} $${VTK_INCLUDES} $${BOOST_CPPFLAGS} ../Qtx ../SUIT ../OBJECT ../Prs ../VTKViewer
41 LIBS += -L../../lib -lqtx -lsuit -lSalomeObject -lSalomePrs -lVTKViewer $${OCC_LIBS} $${VTK_LIBS}
42
43 CONFIG -= debug release debug_and_release
44 CONFIG += qt thread debug dll shared
45
46 win32:DEFINES += WIN32 
47 DEFINES += SVTK_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  = SVTK.h
50 HEADERS += SVTK_Prs.h
51 HEADERS += SVTK_Actor.h
52 HEADERS += SALOME_Actor.h
53 HEADERS += SVTK_RectPicker.h
54 HEADERS += SVTK_DeviceActor.h
55 HEADERS += SVTK_DialogBase.h
56 HEADERS += SVTK_FontWidget.h
57 HEADERS += SVTK_CubeAxesActor2D.h
58 HEADERS += SVTK_Functor.h
59 HEADERS += SVTK_View.h
60 HEADERS += SVTK_ViewManager.h
61 HEADERS += SVTK_ViewModel.h
62 HEADERS += SVTK_ViewWindow.h
63 HEADERS += SVTK_Renderer.h
64 HEADERS += SVTK_InteractorStyle.h
65 HEADERS += SVTK_KeyFreeInteractorStyle.h
66 HEADERS += SVTK_RenderWindowInteractor.h
67 HEADERS += SVTK_GenericRenderWindowInteractor.h
68 HEADERS += SVTK_Selector.h
69 HEADERS += SVTK_Selection.h
70 HEADERS += SVTK_SelectionEvent.h
71 HEADERS += SVTK_SpaceMouse.h
72 HEADERS += SVTK_Event.h
73 HEADERS += SVTK_ViewModelBase.h
74 HEADERS += SVTK_SetRotationPointDlg.h
75 HEADERS += SVTK_ViewParametersDlg.h
76 HEADERS += SVTK_ComboAction.h
77 HEADERS += SVTK_Extension.h
78
79 SOURCES  = SVTK_Prs.cxx
80 SOURCES += SVTK_Actor.cxx
81 SOURCES += SALOME_Actor.cxx
82 SOURCES += SVTK_RectPicker.cxx
83 SOURCES += SVTK_DeviceActor.cxx
84 SOURCES += SVTK_CubeAxesActor2D.cxx
85 SOURCES += SVTK_NonIsometricDlg.cxx
86 SOURCES += SVTK_UpdateRateDlg.cxx
87 SOURCES += SVTK_CubeAxesDlg.cxx
88 SOURCES += SVTK_DialogBase.cxx
89 SOURCES += SVTK_FontWidget.cxx
90 SOURCES += SVTK_Trihedron.cxx
91 SOURCES += SVTK_View.cxx
92 SOURCES += SVTK_ViewManager.cxx
93 SOURCES += SVTK_ViewModel.cxx
94 SOURCES += SVTK_Renderer.cxx
95 SOURCES += SVTK_ViewWindow.cxx
96 SOURCES += SVTK_InteractorStyle.cxx
97 SOURCES += SVTK_KeyFreeInteractorStyle.cxx
98 SOURCES += SVTK_RenderWindowInteractor.cxx
99 SOURCES += SVTK_GenericRenderWindowInteractor.cxx
100 SOURCES += SVTK_SpaceMouse.cxx
101 SOURCES += SVTK_Selector.cxx
102 SOURCES += SVTK_SetRotationPointDlg.cxx
103 SOURCES += SVTK_ViewParametersDlg.cxx
104 SOURCES += SVTK_ComboAction.cxx
105 SOURCES += SVTK_Extension.cxx
106
107 TRANSLATIONS = resources/SVTK_images.ts \
108                resources/SVTK_msg_en.ts
109
110 ICONS   = resources/*.png
111
112 includes.files = $$HEADERS
113 includes.path = ../../include
114
115 resources.files = $$ICONS resources/*.qm
116 resources.path = ../../resources
117
118 INSTALLS += includes resources