1 | CONFIG += 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/Timer ../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
|
---|
50 |
|
---|
51 | #zdll.lib
|
---|
52 | #zziplibd.lib
|
---|
53 |
|
---|
54 | CONFIG(release) {
|
---|
55 | win32:LIBS += xerces-c_2.lib
|
---|
56 | }
|
---|
57 |
|
---|
58 | CONFIG(debug) {
|
---|
59 | win32:LIBS += xerces-c_2D.lib
|
---|
60 | }
|
---|
61 |
|
---|
62 |
|
---|
63 | CONFIG(mlrt) {
|
---|
64 |
|
---|
65 | CONFIG(release) {
|
---|
66 | LIBPATH += ../MultiLevelRayTracing/RTScene/Release \
|
---|
67 | ../MultiLevelRayTracing/RTWorld/Release
|
---|
68 | }
|
---|
69 |
|
---|
70 | CONFIG(debug) {
|
---|
71 | LIBPATH += ../MultiLevelRayTracing/RTScene/Debug \
|
---|
72 | ../MultiLevelRayTracing/RTWorld/Debug
|
---|
73 | }
|
---|
74 |
|
---|
75 | LIBS += RTScene.lib RTWorld.lib
|
---|
76 | DEFINES += GTP_INTERNAL
|
---|
77 | INCLUDEPATH += ../MultiLevelRayTracing
|
---|
78 | }
|
---|
79 |
|
---|
80 | QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT
|
---|
81 |
|
---|
82 | CONFIG(qt) {
|
---|
83 | win32:LIBS += cg.lib cgGL.lib
|
---|
84 | DEFINES += USE_QT
|
---|
85 | }
|
---|
86 |
|
---|
87 | unix:LIBS += -lxerces-c -lIL -lILU -lILUT
|
---|
88 |
|
---|
89 | # Input
|
---|
90 | HEADERS += Halton.h VssRay.h VssPreprocessor.h RssTree.h GlRenderer.h \
|
---|
91 | PreprocessorThread.h Preprocessor.h Beam.h
|
---|
92 |
|
---|
93 |
|
---|
94 | SOURCES += \
|
---|
95 | Preprocessor.cpp SamplingPreprocessor.cpp ExactPreprocessor.cpp \
|
---|
96 | KdTree.cpp Environment.cpp gzstream.cpp common.cpp \
|
---|
97 | UnigraphicsParser.cpp X3dExporter.cpp SceneGraph.cpp Material.cpp \
|
---|
98 | Matrix4x4.cpp Vector3.cpp AxisAlignedBox3.cpp Ray.cpp main.cpp Mesh.cpp \
|
---|
99 | Exporter.cpp Camera.cpp X3dParser.cpp MeshKdTree.cpp \
|
---|
100 | MutualVisibility.cpp Triangle3.cpp Rectangle3.cpp Plane3.cpp Polygon3.cpp \
|
---|
101 | ViewCell.cpp ViewCellBsp.cpp Halton.cpp VssRay.cpp VssTree.cpp VssPreprocessor.cpp \
|
---|
102 | RenderSimulator.cpp RayInfo.cpp RssTree.cpp RssPreprocessor.cpp \
|
---|
103 | ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \
|
---|
104 | PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \
|
---|
105 | VrmlExporter.cpp PlyParser.cpp plyfile.c RenderSampler.cpp \
|
---|
106 | GzBinFileInputStream.cpp GzFileInputSource.cpp \
|
---|
107 | LogManager.cpp VspTree.cpp \
|
---|
108 | SamplingStrategy.cpp IntersectableWrapper.cpp \
|
---|
109 | OspTree.cpp HierarchyManager.cpp ObjParser.cpp \
|
---|
110 | BvHierarchy.cpp \
|
---|
111 | InternalRayCaster.cpp IntelRayCaster.cpp \
|
---|
112 | RayCaster.cpp PreprocessorFactory.cpp GvsPreprocessor.cpp \
|
---|
113 | Trackball.cpp ObjExporter.cpp SubdivisionCandidate.cpp \
|
---|
114 | Mailable.cpp \
|
---|
115 | CombinedPreprocessor.cpp Vector2.cpp GlobalLinesRenderer.cpp \
|
---|
116 | RenderTexture.cpp Mutation.cpp Timer/RDTSCTimer.cpp \
|
---|
117 | Timer/BenchTimer.cpp Timer/merror.cpp \
|
---|
118 | Intersectable.cpp TraversalTree.cpp ObjectPvs.cpp ObjectsParser.cpp
|
---|
119 |
|
---|
120 |
|
---|
121 | SOURCES += BoostPreprocessorThread.cpp
|
---|
122 |
|
---|
123 | CONFIG(qt) {
|
---|
124 | HEADERS += QtInterface/QtPreprocessorThread.h QtInterface/QtGlRenderer.h \
|
---|
125 | QtInterface/QtGlViewer.h
|
---|
126 | SOURCES += OcclusionQuery.cpp QtInterface/QtPreprocessorThread.cpp \
|
---|
127 | QtInterface/QtGlRenderer.cpp QtInterface/QtGlViewer.cpp
|
---|
128 | } else {
|
---|
129 | SOURCES += BoostPreprocessorThread.cpp
|
---|
130 | }
|
---|
131 |
|
---|