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