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