[1757] | 1 | CONFIG += qt release
|
---|
| 2 | CONFIG += console warn_off thread mlrt qt
|
---|
[1208] | 3 |
|
---|
[163] | 4 | TEMPLATE = app
|
---|
| 5 |
|
---|
| 6 | TARGET = preprocessor
|
---|
| 7 |
|
---|
[1217] | 8 | CONFIG(debug) {
|
---|
| 9 | DESTDIR = "../bin/debug"
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | CONFIG(release) {
|
---|
| 13 | DESTDIR = "../bin/release"
|
---|
| 14 | }
|
---|
| 15 |
|
---|
[677] | 16 | NONGTP = ../../../../../../NonGTP
|
---|
| 17 |
|
---|
[1715] | 18 | #win32:INCLUDEPATH += d:/STLport-4.6.2/stlport
|
---|
[1208] | 19 |
|
---|
| 20 | CONFIG(qt) {
|
---|
[1883] | 21 | #win32:INCLUDEPATH += "d:/Programs/NVIDIA Corporation/Cg/include"
|
---|
| 22 | win32:INCLUDEPATH += "$$(CG_INC_PATH)"
|
---|
[1208] | 23 | }
|
---|
| 24 |
|
---|
[364] | 25 | unix:INCLUDEPATH += ../support/src/xerces-c-src_2_7_0/include
|
---|
[170] | 26 |
|
---|
[1942] | 27 | INCLUDEPATH += ../src ../src/QtInterface $$NONGTP/Xerces/xerces/include $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include
|
---|
[364] | 28 |
|
---|
[1207] | 29 | win32:LIBPATH += GL $$NONGTP/Xerces/xerces/lib $$NONGTP/Devil/lib \
|
---|
[1213] | 30 | $$NONGTP/glut $$NONGTP/Boost/lib $$NONGTP/Zlib/lib
|
---|
[1207] | 31 |
|
---|
[1292] | 32 |
|
---|
[1207] | 33 | CONFIG(qt) {
|
---|
[1883] | 34 | #win32:LIBPATH += "d:/Programs/NVIDIA Corporation/Cg/lib"
|
---|
| 35 | win32:LIBPATH += "$$(CG_LIB_PATH)"
|
---|
[1207] | 36 | }
|
---|
| 37 |
|
---|
[364] | 38 | unix:LIBPATH += ../support/src/xerces-c-src_2_7_0/lib ../support/devil/lib /usr/lib/qt3/lib64
|
---|
[170] | 39 |
|
---|
[1715] | 40 | #win32:LIBPATH += d:/STLport-4.6.2/lib
|
---|
[163] | 41 |
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 | # DEPENDPATH = ../../include
|
---|
[1208] | 45 | CONFIG(qt) {
|
---|
[492] | 46 | QT += opengl
|
---|
[1208] | 47 | }
|
---|
[492] | 48 |
|
---|
[1272] | 49 | win32:LIBS += devil.lib ilu.lib ilut.lib glew32.lib zlib.lib zdll.lib zziplibd.lib
|
---|
[1112] | 50 |
|
---|
[1272] | 51 | CONFIG(release) {
|
---|
| 52 | win32:LIBS += xerces-c_2.lib
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | CONFIG(debug) {
|
---|
| 56 | win32:LIBS += xerces-c_2D.lib
|
---|
| 57 | }
|
---|
| 58 |
|
---|
[1292] | 59 |
|
---|
| 60 | CONFIG(mlrt) {
|
---|
| 61 |
|
---|
| 62 | CONFIG(release) {
|
---|
| 63 | LIBPATH += ../MultiLevelRayTracing/RTScene/Release \
|
---|
| 64 | ../MultiLevelRayTracing/RTWorld/Release
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | CONFIG(debug) {
|
---|
| 68 | LIBPATH += ../MultiLevelRayTracing/RTScene/Debug \
|
---|
| 69 | ../MultiLevelRayTracing/RTWorld/Debug
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | LIBS += RTScene.lib RTWorld.lib
|
---|
| 73 | DEFINES += GTP_INTERNAL
|
---|
| 74 | INCLUDEPATH += ../MultiLevelRayTracing
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 |
|
---|
[1217] | 78 | QMAKE_LFLAGS_CONSOLE=/NODEFAULTLIB:LIBCMT
|
---|
| 79 |
|
---|
[1207] | 80 | CONFIG(qt) {
|
---|
[1272] | 81 | win32:LIBS += cg.lib cgGL.lib
|
---|
[1387] | 82 | DEFINES += USE_QT
|
---|
[1207] | 83 | }
|
---|
| 84 |
|
---|
[364] | 85 | unix:LIBS += -lxerces-c -lIL -lILU -lILUT
|
---|
[170] | 86 |
|
---|
[163] | 87 | # Input
|
---|
[492] | 88 | HEADERS += Halton.h VssRay.h VssPreprocessor.h RssTree.h GlRenderer.h \
|
---|
[1942] | 89 | PreprocessorThread.h Preprocessor.h Beam.h
|
---|
[163] | 90 |
|
---|
[170] | 91 |
|
---|
[163] | 92 | SOURCES += \
|
---|
| 93 | Preprocessor.cpp SamplingPreprocessor.cpp ExactPreprocessor.cpp \
|
---|
| 94 | KdTree.cpp Environment.cpp gzstream.cpp common.cpp \
|
---|
| 95 | UnigraphicsParser.cpp X3dExporter.cpp SceneGraph.cpp Material.cpp \
|
---|
| 96 | Matrix4x4.cpp Vector3.cpp AxisAlignedBox3.cpp Ray.cpp main.cpp Mesh.cpp \
|
---|
[191] | 97 | Exporter.cpp Camera.cpp X3dParser.cpp MeshKdTree.cpp Pvs.cpp \
|
---|
[245] | 98 | MutualVisibility.cpp Triangle3.cpp Rectangle3.cpp Plane3.cpp Polygon3.cpp \
|
---|
[427] | 99 | ViewCell.cpp ViewCellBsp.cpp Halton.cpp VssRay.cpp VssTree.cpp VssPreprocessor.cpp \
|
---|
[1248] | 100 | RenderSimulator.cpp RayInfo.cpp RssTree.cpp RssPreprocessor.cpp \
|
---|
[492] | 101 | ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \
|
---|
[718] | 102 | PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \
|
---|
[1112] | 103 | VrmlExporter.cpp PlyParser.cpp plyfile.c RenderSampler.cpp \
|
---|
| 104 | GzBinFileInputStream.cpp GzFileInputSource.cpp \
|
---|
[1292] | 105 | LogManager.cpp VspTree.cpp \
|
---|
[1387] | 106 | SamplingStrategy.cpp IntersectableWrapper.cpp \
|
---|
[1292] | 107 | OspTree.cpp HierarchyManager.cpp ObjParser.cpp \
|
---|
[1272] | 108 | BvHierarchy.cpp \
|
---|
[1757] | 109 | InternalRayCaster.cpp IntelRayCaster.cpp \
|
---|
[1694] | 110 | RayCaster.cpp PreprocessorFactory.cpp GvsPreprocessor.cpp \
|
---|
[1931] | 111 | Trackball.cpp ObjExporter.cpp SubdivisionCandidate.cpp \
|
---|
[1891] | 112 | Mailable.cpp \
|
---|
[1983] | 113 | CombinedPreprocessor.cpp Vector2.cpp GlobalLinesRenderer.cpp \
|
---|
[1989] | 114 | RenderTexture.cpp Mutation.cpp
|
---|
[163] | 115 |
|
---|
[1757] | 116 | SOURCES += BoostPreprocessorThread.cpp
|
---|
[1292] | 117 |
|
---|
[1209] | 118 | CONFIG(qt) {
|
---|
[1952] | 119 | HEADERS += QtInterface/QtPreprocessorThread.h QtInterface/QtGlRenderer.h \
|
---|
[1942] | 120 | QtInterface/QtGlViewer.h
|
---|
[1952] | 121 | SOURCES += OcclusionQuery.cpp QtInterface/QtPreprocessorThread.cpp \
|
---|
[1942] | 122 | QtInterface/QtGlRenderer.cpp QtInterface/QtGlViewer.cpp
|
---|
[1757] | 123 | } else {
|
---|
| 124 | SOURCES += BoostPreprocessorThread.cpp
|
---|
[1209] | 125 | }
|
---|
| 126 |
|
---|