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