[2042] | 1 | CONFIG += release
|
---|
[2582] | 2 | #CONFIG += debug
|
---|
[1757] | 3 | CONFIG += console warn_off thread mlrt qt
|
---|
[1208] | 4 |
|
---|
[163] | 5 | TEMPLATE = app
|
---|
| 6 |
|
---|
[2610] | 7 | #CONFIG -= qt
|
---|
[2582] | 8 |
|
---|
[163] | 9 | TARGET = preprocessor
|
---|
| 10 |
|
---|
[1217] | 11 | CONFIG(debug) {
|
---|
| 12 | DESTDIR = "../bin/debug"
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | CONFIG(release) {
|
---|
| 16 | DESTDIR = "../bin/release"
|
---|
| 17 | }
|
---|
| 18 |
|
---|
[677] | 19 | NONGTP = ../../../../../../NonGTP
|
---|
| 20 |
|
---|
[1715] | 21 | #win32:INCLUDEPATH += d:/STLport-4.6.2/stlport
|
---|
[1208] | 22 |
|
---|
| 23 | CONFIG(qt) {
|
---|
[1883] | 24 | #win32:INCLUDEPATH += "d:/Programs/NVIDIA Corporation/Cg/include"
|
---|
| 25 | win32:INCLUDEPATH += "$$(CG_INC_PATH)"
|
---|
[1208] | 26 | }
|
---|
| 27 |
|
---|
[364] | 28 | unix:INCLUDEPATH += ../support/src/xerces-c-src_2_7_0/include
|
---|
[170] | 29 |
|
---|
[2612] | 30 | XERCES = $$NONGTP/Xerces/xerces
|
---|
| 31 | #XERCES = $$NONGTP/Xerces/xerces-c_2_8_0
|
---|
[2610] | 32 |
|
---|
[2627] | 33 | INCLUDEPATH += ../src ../src/Timer ../src/QtInterface $$XERCES/include \
|
---|
| 34 | $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include sparsehash/src
|
---|
[364] | 35 |
|
---|
[2629] | 36 | win32:LIBPATH += GL $$NONGTP/Xerces/xerces/lib $$NONGTP/Devil/lib \
|
---|
[1213] | 37 | $$NONGTP/glut $$NONGTP/Boost/lib $$NONGTP/Zlib/lib
|
---|
[1207] | 38 |
|
---|
[1292] | 39 |
|
---|
[1207] | 40 | CONFIG(qt) {
|
---|
[1883] | 41 | #win32:LIBPATH += "d:/Programs/NVIDIA Corporation/Cg/lib"
|
---|
| 42 | win32:LIBPATH += "$$(CG_LIB_PATH)"
|
---|
[1207] | 43 | }
|
---|
| 44 |
|
---|
[364] | 45 | unix:LIBPATH += ../support/src/xerces-c-src_2_7_0/lib ../support/devil/lib /usr/lib/qt3/lib64
|
---|
[170] | 46 |
|
---|
[1715] | 47 | #win32:LIBPATH += d:/STLport-4.6.2/lib
|
---|
[163] | 48 |
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | # DEPENDPATH = ../../include
|
---|
[1208] | 52 | CONFIG(qt) {
|
---|
[492] | 53 | QT += opengl
|
---|
[1208] | 54 | }
|
---|
[492] | 55 |
|
---|
[2049] | 56 | win32:LIBS += devil.lib ilu.lib ilut.lib glew32.lib zlib.lib
|
---|
[1112] | 57 |
|
---|
[2049] | 58 | #zdll.lib
|
---|
| 59 | #zziplibd.lib
|
---|
| 60 |
|
---|
[1272] | 61 | CONFIG(release) {
|
---|
| 62 | win32:LIBS += xerces-c_2.lib
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | CONFIG(debug) {
|
---|
| 66 | win32:LIBS += xerces-c_2D.lib
|
---|
| 67 | }
|
---|
| 68 |
|
---|
[1292] | 69 |
|
---|
| 70 | CONFIG(mlrt) {
|
---|
| 71 |
|
---|
| 72 | CONFIG(release) {
|
---|
| 73 | LIBPATH += ../MultiLevelRayTracing/RTScene/Release \
|
---|
| 74 | ../MultiLevelRayTracing/RTWorld/Release
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 | CONFIG(debug) {
|
---|
| 78 | LIBPATH += ../MultiLevelRayTracing/RTScene/Debug \
|
---|
| 79 | ../MultiLevelRayTracing/RTWorld/Debug
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | LIBS += RTScene.lib RTWorld.lib
|
---|
[2634] | 83 | DEFINES += GTP_INTERNAL NDEBUG
|
---|
[1292] | 84 | INCLUDEPATH += ../MultiLevelRayTracing
|
---|
| 85 | }
|
---|
| 86 |
|
---|
[1217] | 87 | QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT
|
---|
| 88 |
|
---|
[1207] | 89 | CONFIG(qt) {
|
---|
[1272] | 90 | win32:LIBS += cg.lib cgGL.lib
|
---|
[2583] | 91 | DEFINES += USE_QT
|
---|
[1207] | 92 | }
|
---|
| 93 |
|
---|
[364] | 94 | unix:LIBS += -lxerces-c -lIL -lILU -lILUT
|
---|
[170] | 95 |
|
---|
[163] | 96 | # Input
|
---|
[492] | 97 | HEADERS += Halton.h VssRay.h VssPreprocessor.h RssTree.h GlRenderer.h \
|
---|
[1942] | 98 | PreprocessorThread.h Preprocessor.h Beam.h
|
---|
[163] | 99 |
|
---|
[170] | 100 |
|
---|
[163] | 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 \
|
---|
[2148] | 106 | Exporter.cpp Camera.cpp X3dParser.cpp MeshKdTree.cpp \
|
---|
[245] | 107 | MutualVisibility.cpp Triangle3.cpp Rectangle3.cpp Plane3.cpp Polygon3.cpp \
|
---|
[427] | 108 | ViewCell.cpp ViewCellBsp.cpp Halton.cpp VssRay.cpp VssTree.cpp VssPreprocessor.cpp \
|
---|
[1248] | 109 | RenderSimulator.cpp RayInfo.cpp RssTree.cpp RssPreprocessor.cpp \
|
---|
[492] | 110 | ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \
|
---|
[718] | 111 | PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \
|
---|
[1112] | 112 | VrmlExporter.cpp PlyParser.cpp plyfile.c RenderSampler.cpp \
|
---|
| 113 | GzBinFileInputStream.cpp GzFileInputSource.cpp \
|
---|
[1292] | 114 | LogManager.cpp VspTree.cpp \
|
---|
[1387] | 115 | SamplingStrategy.cpp IntersectableWrapper.cpp \
|
---|
[1292] | 116 | OspTree.cpp HierarchyManager.cpp ObjParser.cpp \
|
---|
[1272] | 117 | BvHierarchy.cpp \
|
---|
[1757] | 118 | InternalRayCaster.cpp IntelRayCaster.cpp \
|
---|
[1694] | 119 | RayCaster.cpp PreprocessorFactory.cpp GvsPreprocessor.cpp \
|
---|
[1931] | 120 | Trackball.cpp ObjExporter.cpp SubdivisionCandidate.cpp \
|
---|
[1891] | 121 | Mailable.cpp \
|
---|
[1983] | 122 | CombinedPreprocessor.cpp Vector2.cpp GlobalLinesRenderer.cpp \
|
---|
[2076] | 123 | RenderTexture.cpp Mutation.cpp Timer/RDTSCTimer.cpp \
|
---|
| 124 | Timer/BenchTimer.cpp Timer/merror.cpp \
|
---|
[2574] | 125 | Intersectable.cpp TraversalTree.cpp ObjectPvs.cpp ObjectsParser.cpp \
|
---|
[2582] | 126 | FilterBasedDistribution.cpp DifferenceSampling.cpp HavranRayCaster.cpp \
|
---|
[2634] | 127 | HavranDynRayCaster.cpp OcclusionQuery.cpp RandomViewCellsHandler.cpp
|
---|
[163] | 128 |
|
---|
[2148] | 129 |
|
---|
[1757] | 130 | SOURCES += BoostPreprocessorThread.cpp
|
---|
[1292] | 131 |
|
---|
[2582] | 132 | INCLUDEPATH+=havran
|
---|
| 133 | SOURCES += havran/allocgo2.cpp havran/ktbai.cpp havran/ktbtrav.cpp \
|
---|
| 134 | havran/ktb.cpp havran/ktball.cpp havran/sbbox.cpp \
|
---|
[2634] | 135 | havran/ktb8b.cpp havran/ktbftrav.cpp havran/timer.cpp havran/ktbs.cpp \
|
---|
| 136 | havran/ktbf2trv.cpp
|
---|
[2582] | 137 |
|
---|
| 138 |
|
---|
[1209] | 139 | CONFIG(qt) {
|
---|
[1952] | 140 | HEADERS += QtInterface/QtPreprocessorThread.h QtInterface/QtGlRenderer.h \
|
---|
[1942] | 141 | QtInterface/QtGlViewer.h
|
---|
[2582] | 142 | SOURCES += QtInterface/QtPreprocessorThread.cpp \
|
---|
[1942] | 143 | QtInterface/QtGlRenderer.cpp QtInterface/QtGlViewer.cpp
|
---|
[2582] | 144 | SOURCES += QtInterface/LogReader.cpp QtInterface/LogWriter.cpp
|
---|
[1757] | 145 | } else {
|
---|
[2582] | 146 | #SOURCES += BoostPreprocessorThread.cpp
|
---|
[1209] | 147 | }
|
---|
| 148 |
|
---|