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