This repository has been archived by the owner on Feb 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
ObjectViewer.pro
122 lines (108 loc) · 3.87 KB
/
ObjectViewer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
QT += core gui opengl widgets
CONFIG += console debug
win32: LIBS += \
-L$$PWD/libs/ -lassimp \
-L$$PWD/libs/ -lCORE_RL_Magick++_
unix:!macx: LIBS += \
-L/usr/lib/ -lassimp \
-L/usr/lib/ -lMagick++-6.Q16HDRI
INCLUDEPATH += \
/usr/lib \
/usr/include
DEPENDPATH += \
/usr/lib \
/usr/include
RCC_DIR = $$_PRO_FILE_PWD_/build/tmp/rcc
UI_DIR = $$_PRO_FILE_PWD_/build/tmp/ui
MOC_DIR = $$_PRO_FILE_PWD_/build/tmp/moc
OBJECTS_DIR = $$_PRO_FILE_PWD_/build/tmp/obj
CONFIG(debug, debug|release) {
DESTDIR = $$_PRO_FILE_PWD_/build/debug
}
CONFIG(release, debug|release) {
DESTDIR = $$_PRO_FILE_PWD_/build/release
}
# GCC FLAGS
QMAKE_CXXFLAGS += -std=c++0x
QMAKE_CXXFLAGS += -isystem "/usr/include/qt/QtCore" \
-isystem "/usr/include/qt/QtGui" \
-isystem "/usr/include/qt/QtOpenGL" \
-isystem "/usr/include/qt/QtWidgets" \
-isystem "/usr/include/qt/QtOpenGLExtensions" \
-isystem "$$PWD/includes" \
-isystem "$$PWD/build/tmp/moc"
QMAKE_CXXFLAGS_WARN_ON += -Wall -Wextra -Wfloat-equal -Wundef -Wpointer-arith \
-Wcast-align -Wstrict-prototypes -Wstrict-overflow=5 \
-Wwrite-strings -Wcast-qual -Wswitch-enum -Wconversion \
-Wnon-virtual-dtor -Wmissing-noreturn \
-Wredundant-decls -Winline -Wdouble-promotion -Winit-self \
-Wold-style-cast -Woverloaded-virtual -pedantic
HEADERS += \
src/helpers/shaders.h \
src/objects/scene.h \
src/objects/object3d.h \
src/objects/camera_p.h \
src/objects/camera.h \
src/objects/abstractscene.h \
src/ui/window.h \
src/ui/mainwindow.h \
src/materials/texture.h \
src/objects/mesh.h \
src/materials/material.h \
src/objects/abstractmeshmanager.h \
src/objects/meshmanager.h \
src/materials/abstractmaterialmanager.h \
src/materials/materialmanager.h \
src/materials/abstracttexturemanager.h \
src/materials/texturemanager.h \
src/objects/abstractmodel.h \
src/objects/abstractmodelmanager.h \
src/objects/modelmanager.h \
src/objects/model.h \
src/objects/modelloader.h \
src/helpers/opengluniformbuffer.h \
src/objects/light.h \
src/helpers/MathUtils.h
SOURCES += \
src/helpers/shaders.cpp \
src/objects/scene.cpp \
src/objects/object3d.cpp \
src/objects/camera.cpp \
src/objects/abstractscene.cpp \
src/ui/window.cpp \
src/ui/mainwindow.cpp \
src/main.cpp \
src/materials/texture.cpp \
src/objects/mesh.cpp \
src/materials/material.cpp \
src/objects/abstractmeshmanager.cpp \
src/objects/meshmanager.cpp \
src/materials/abstractmaterialmanager.cpp \
src/materials/materialmanager.cpp \
src/materials/abstracttexturemanager.cpp \
src/materials/texturemanager.cpp \
src/objects/abstractmodel.cpp \
src/objects/abstractmodelmanager.cpp \
src/objects/modelmanager.cpp \
src/objects/model.cpp \
src/objects/modelloader.cpp \
src/helpers/opengluniformbuffer.cpp \
src/objects/light.cpp
RESOURCES += \
shaders.qrc \
images.qrc \
textures.qrc
OTHER_FILES += \
resources/shaders/basic.frag \
resources/shaders/basic.vert \
resources/shaders/lighting/rim-lighting.vert \
resources/shaders/lighting/rim-lighting.frag \
resources/shaders/lighting/point-light.vert \
resources/shaders/lighting/per-vertex-phong.vert \
resources/shaders/lighting/per-vertex-phong.frag \
resources/shaders/lighting/per-fragment-phong.vert \
resources/shaders/lighting/per-fragment-phong.frag \
resources/shaders/lighting/per-fragment-blinn-phong.vert \
resources/shaders/lighting/per-fragment-blinn-phong.frag \
resources/shaders/lighting/normal-mapping.vert \
resources/shaders/lighting/normal-mapping.frag