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

Revision 2708, 4.2 KB checked in by bittner, 16 years ago (diff)

Updates functional for verbose pvs - sprintf_s changed to sprintf due to compiling problem on vs2003

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_2.lib
67#win32:LIBS += xerces-c_2D.lib
68}
69
70
71CONFIG(mlrt) {
72
73CONFIG(release) {
74LIBPATH += ../MultiLevelRayTracing/RTScene/Release \
75../MultiLevelRayTracing/RTWorld/Release
76}
77
78CONFIG(debug) {
79LIBPATH += ../MultiLevelRayTracing/RTScene/Debug \
80../MultiLevelRayTracing/RTWorld/Debug
81}
82
83LIBS += RTScene.lib RTWorld.lib
84DEFINES += GTP_INTERNAL NDEBUG
85INCLUDEPATH += ../MultiLevelRayTracing
86}
87
88QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT
89
90CONFIG(qt) {
91win32:LIBS += cg.lib cgGL.lib
92DEFINES += USE_QT
93}
94
95unix:LIBS += -lxerces-c -lIL -lILU -lILUT
96
97# Input
98HEADERS += Halton.h VssRay.h VssPreprocessor.h RssTree.h GlRenderer.h \
99PreprocessorThread.h Preprocessor.h Beam.h
100
101
102SOURCES += \
103Preprocessor.cpp SamplingPreprocessor.cpp ExactPreprocessor.cpp \
104KdTree.cpp Environment.cpp gzstream.cpp common.cpp \
105UnigraphicsParser.cpp X3dExporter.cpp SceneGraph.cpp Material.cpp \
106Matrix4x4.cpp Vector3.cpp AxisAlignedBox3.cpp Ray.cpp main.cpp Mesh.cpp \
107Exporter.cpp Camera.cpp X3dParser.cpp MeshKdTree.cpp  \
108MutualVisibility.cpp Triangle3.cpp Rectangle3.cpp Plane3.cpp Polygon3.cpp \
109ViewCell.cpp ViewCellBsp.cpp Halton.cpp VssRay.cpp VssTree.cpp VssPreprocessor.cpp \
110RenderSimulator.cpp RayInfo.cpp RssTree.cpp RssPreprocessor.cpp \
111ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \
112PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \
113VrmlExporter.cpp PlyParser.cpp plyfile.c RenderSampler.cpp \
114GzBinFileInputStream.cpp  GzFileInputSource.cpp \
115LogManager.cpp VspTree.cpp \
116SamplingStrategy.cpp IntersectableWrapper.cpp \
117OspTree.cpp HierarchyManager.cpp ObjParser.cpp \
118BvHierarchy.cpp  \
119InternalRayCaster.cpp IntelRayCaster.cpp \
120RayCaster.cpp PreprocessorFactory.cpp GvsPreprocessor.cpp \
121Trackball.cpp ObjExporter.cpp SubdivisionCandidate.cpp \
122Mailable.cpp \
123CombinedPreprocessor.cpp Vector2.cpp GlobalLinesRenderer.cpp \
124RenderTexture.cpp Mutation.cpp Timer/RDTSCTimer.cpp \
125Timer/BenchTimer.cpp Timer/merror.cpp \
126Intersectable.cpp TraversalTree.cpp ObjectPvs.cpp ObjectsParser.cpp \
127FilterBasedDistribution.cpp DifferenceSampling.cpp HavranRayCaster.cpp \
128HavranDynRayCaster.cpp OcclusionQuery.cpp RandomViewCellsHandler.cpp \
129SepPlanesBox3.cpp
130
131
132SOURCES += BoostPreprocessorThread.cpp
133
134INCLUDEPATH+=havran
135SOURCES += havran/allocgo2.cpp havran/ktbai.cpp havran/ktbtrav.cpp \
136havran/ktb.cpp havran/ktball.cpp havran/sbbox.cpp \
137havran/ktb8b.cpp havran/ktbftrav.cpp havran/timer.cpp havran/ktbs.cpp \
138havran/ktbf2trv.cpp
139
140
141CONFIG(qt) {
142HEADERS += QtInterface/QtPreprocessorThread.h QtInterface/QtGlRenderer.h \
143QtInterface/QtGlViewer.h
144SOURCES +=  QtInterface/QtPreprocessorThread.cpp \
145QtInterface/QtGlRenderer.cpp QtInterface/QtGlViewer.cpp
146SOURCES +=  QtInterface/LogReader.cpp QtInterface/LogWriter.cpp QtInterface/ObjectPlacer.cpp
147} else {
148#SOURCES += BoostPreprocessorThread.cpp
149}
150
Note: See TracBrowser for help on using the repository browser.