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