-
Notifications
You must be signed in to change notification settings - Fork 8
/
mafImportVTK.pri
63 lines (55 loc) · 1.37 KB
/
mafImportVTK.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# import VTK foundation library references
COMPILER = $$QMAKE_CC
!contains(COMPILER, gcc) {
LIB_DIR = Release
CONFIG(debug, debug|release) {
LIB_DIR = Debug
}
}
unix:LIB_CHECK = $$(MAF3_FOUNDATION_LIB_DIR)/vtk-5.6/lib/lib*
win32:LIB_CHECK = $$(MAF3_FOUNDATION_LIB_DIR)\vtk-5.6\lib\\$$LIB_DIR\*vtk*
# Foundation libraries dependencies
exists( $$LIB_CHECK ) {
INCLUDEPATH += $$(MAF3_FOUNDATION_LIB_DIR)/vtk-5.6/include
LIBS += -L$$(MAF3_FOUNDATION_LIB_DIR)/vtk-5.6/lib/$$LIB_DIR \
-lMapReduceMPI \
-lmpistubs \
-lQVTK \
-lvtkQtChart \
-lvtkCharts \
-lvtkCommon \
-lvtkDICOMParser \
-lvtkFiltering \
-lvtkfreetype \
-lvtkGenericFiltering \
-lvtkGeovis \
-lvtkGraphics \
-lvtkHybrid \
-lvtkIO \
-lvtkImaging \
-lvtkInfovis \
-lvtkNetCDF \
-lvtkRendering \
-lvtkViews \
-lvtkVolumeRendering \
-lvtkWidgets \
-lvtkalglib \
-lvtkexoIIc \
-lvtkexpat \
-lvtkfreetype \
-lvtkftgl \
-lvtkjpeg \
-lvtklibxml2 \
-lvtkmetaio \
-lvtkpng \
-lvtkproj4 \
-lvtksqlite \
-lvtksys \
-lvtktiff \
-lvtkverdict \
-lvtkzlib
}
win32:!exists( $$DESTDIR/*vtkCommon* ):QMAKE_PRE_LINK += copy \
$$quote($$(MAF3_FOUNDATION_LIB_DIR)\vtk-5.6\lib\\$$LIB_DIR\*vtk*) \
$$DESTDIR
unix:!exists( $$DESTDIR/*vtkCommon* ):QMAKE_PRE_LINK += cd $$(MAF3_FOUNDATION_LIB_DIR)/vtk-5.6/lib/$$LIB_DIR ;tar -cf zipped *;mv zipped $$DESTDIR/;cd $$DESTDIR/;tar -xvf zipped;rm zipped