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