1 | CONFIG -= qt debug
|
---|
2 | CONFIG += console warn_off thread release mlrt qt
|
---|
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 | 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 Pvs.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 | BoostPreprocessorThread.cpp
|
---|
119 |
|
---|
120 |
|
---|
121 |
|
---|
122 | CONFIG(qt) {
|
---|
123 | HEADERS += QtPreprocessorThread.h QtGlRenderer.h
|
---|
124 | SOURCES += OcclusionQuery.cpp QtPreprocessorThread.cpp QtGlRenderer.cpp
|
---|
125 | }
|
---|
126 |
|
---|