1 | CONFIG += qt release
|
---|
2 | CONFIG += console warn_off thread mlrt qt
|
---|
3 |
|
---|
4 | TEMPLATE = app
|
---|
5 |
|
---|
6 | TARGET = preprocessor
|
---|
7 |
|
---|
8 | CONFIG(debug) {
|
---|
9 | DESTDIR = "../bin/debug"
|
---|
10 | }
|
---|
11 |
|
---|
12 | CONFIG(release) {
|
---|
13 | DESTDIR = "../bin/release"
|
---|
14 | }
|
---|
15 |
|
---|
16 | NONGTP = ../../../../../../NonGTP
|
---|
17 |
|
---|
18 | #win32:INCLUDEPATH += d:/STLport-4.6.2/stlport
|
---|
19 |
|
---|
20 | CONFIG(qt) {
|
---|
21 | #win32:INCLUDEPATH += "d:/Programs/NVIDIA Corporation/Cg/include"
|
---|
22 | win32:INCLUDEPATH += "$$(CG_INC_PATH)"
|
---|
23 | }
|
---|
24 |
|
---|
25 | unix:INCLUDEPATH += ../support/src/xerces-c-src_2_7_0/include
|
---|
26 |
|
---|
27 | INCLUDEPATH += ../src ../src/QtInterface $$NONGTP/Xerces/xerces/include $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include
|
---|
28 |
|
---|
29 | win32:LIBPATH += GL $$NONGTP/Xerces/xerces/lib $$NONGTP/Devil/lib \
|
---|
30 | $$NONGTP/glut $$NONGTP/Boost/lib $$NONGTP/Zlib/lib
|
---|
31 |
|
---|
32 |
|
---|
33 | CONFIG(qt) {
|
---|
34 | #win32:LIBPATH += "d:/Programs/NVIDIA Corporation/Cg/lib"
|
---|
35 | win32:LIBPATH += "$$(CG_LIB_PATH)"
|
---|
36 | }
|
---|
37 |
|
---|
38 | unix:LIBPATH += ../support/src/xerces-c-src_2_7_0/lib ../support/devil/lib /usr/lib/qt3/lib64
|
---|
39 |
|
---|
40 | #win32:LIBPATH += d:/STLport-4.6.2/lib
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 | # DEPENDPATH = ../../include
|
---|
45 | CONFIG(qt) {
|
---|
46 | QT += opengl
|
---|
47 | }
|
---|
48 |
|
---|
49 | win32:LIBS += devil.lib ilu.lib ilut.lib glew32.lib zlib.lib zdll.lib zziplibd.lib
|
---|
50 |
|
---|
51 | CONFIG(release) {
|
---|
52 | win32:LIBS += xerces-c_2.lib
|
---|
53 | }
|
---|
54 |
|
---|
55 | CONFIG(debug) {
|
---|
56 | win32:LIBS += xerces-c_2D.lib
|
---|
57 | }
|
---|
58 |
|
---|
59 |
|
---|
60 | CONFIG(mlrt) {
|
---|
61 |
|
---|
62 | CONFIG(release) {
|
---|
63 | LIBPATH += ../MultiLevelRayTracing/RTScene/Release \
|
---|
64 | ../MultiLevelRayTracing/RTWorld/Release
|
---|
65 | }
|
---|
66 |
|
---|
67 | CONFIG(debug) {
|
---|
68 | LIBPATH += ../MultiLevelRayTracing/RTScene/Debug \
|
---|
69 | ../MultiLevelRayTracing/RTWorld/Debug
|
---|
70 | }
|
---|
71 |
|
---|
72 | LIBS += RTScene.lib RTWorld.lib
|
---|
73 | DEFINES += GTP_INTERNAL
|
---|
74 | INCLUDEPATH += ../MultiLevelRayTracing
|
---|
75 | }
|
---|
76 |
|
---|
77 |
|
---|
78 | QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT
|
---|
79 |
|
---|
80 | CONFIG(qt) {
|
---|
81 | win32:LIBS += cg.lib cgGL.lib
|
---|
82 | DEFINES += USE_QT
|
---|
83 | }
|
---|
84 |
|
---|
85 | unix:LIBS += -lxerces-c -lIL -lILU -lILUT
|
---|
86 |
|
---|
87 | # Input
|
---|
88 | HEADERS += Halton.h VssRay.h VssPreprocessor.h RssTree.h GlRenderer.h \
|
---|
89 | PreprocessorThread.h Preprocessor.h Beam.h
|
---|
90 |
|
---|
91 |
|
---|
92 | SOURCES += \
|
---|
93 | Preprocessor.cpp SamplingPreprocessor.cpp ExactPreprocessor.cpp \
|
---|
94 | KdTree.cpp Environment.cpp gzstream.cpp common.cpp \
|
---|
95 | UnigraphicsParser.cpp X3dExporter.cpp SceneGraph.cpp Material.cpp \
|
---|
96 | Matrix4x4.cpp Vector3.cpp AxisAlignedBox3.cpp Ray.cpp main.cpp Mesh.cpp \
|
---|
97 | Exporter.cpp Camera.cpp X3dParser.cpp MeshKdTree.cpp Pvs.cpp \
|
---|
98 | MutualVisibility.cpp Triangle3.cpp Rectangle3.cpp Plane3.cpp Polygon3.cpp \
|
---|
99 | ViewCell.cpp ViewCellBsp.cpp Halton.cpp VssRay.cpp VssTree.cpp VssPreprocessor.cpp \
|
---|
100 | RenderSimulator.cpp RayInfo.cpp RssTree.cpp RssPreprocessor.cpp \
|
---|
101 | ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \
|
---|
102 | PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \
|
---|
103 | VrmlExporter.cpp PlyParser.cpp plyfile.c RenderSampler.cpp \
|
---|
104 | GzBinFileInputStream.cpp GzFileInputSource.cpp \
|
---|
105 | LogManager.cpp VspTree.cpp \
|
---|
106 | SamplingStrategy.cpp IntersectableWrapper.cpp \
|
---|
107 | OspTree.cpp HierarchyManager.cpp ObjParser.cpp \
|
---|
108 | BvHierarchy.cpp \
|
---|
109 | InternalRayCaster.cpp IntelRayCaster.cpp \
|
---|
110 | RayCaster.cpp PreprocessorFactory.cpp GvsPreprocessor.cpp \
|
---|
111 | Trackball.cpp ObjExporter.cpp SubdivisionCandidate.cpp \
|
---|
112 | Mailable.cpp \
|
---|
113 | CombinedPreprocessor.cpp
|
---|
114 |
|
---|
115 | SOURCES += BoostPreprocessorThread.cpp
|
---|
116 |
|
---|
117 | CONFIG(qt) {
|
---|
118 | HEADERS += QtInterface/QtPreprocessorThread.h QtInterface/QtGlRenderer.h \
|
---|
119 | QtInterface/QtGlViewer.h
|
---|
120 | SOURCES += OcclusionQuery.cpp QtInterface/QtPreprocessorThread.cpp \
|
---|
121 | QtInterface/QtGlRenderer.cpp QtInterface/QtGlViewer.cpp
|
---|
122 | } else {
|
---|
123 | SOURCES += BoostPreprocessorThread.cpp
|
---|
124 | }
|
---|
125 |
|
---|