source: GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro @ 2634

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