-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinal.pro
executable file
·63 lines (54 loc) · 1.34 KB
/
final.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
QT += core gui opengl
TARGET = final
TEMPLATE = app
QMAKE_CXXFLAGS += -std=c++14
CONFIG += c++14
unix:!macx {
LIBS += -lGLU
QMAKE_LFLAGS += -no-pie
}
macx {
QMAKE_CFLAGS_X86_64 += -mmacosx-version-min=10.7
QMAKE_CXXFLAGS_X86_64 = $$QMAKE_CFLAGS_X86_64
CONFIG += c++11
}
win32 {
DEFINES += GLEW_STATIC
LIBS += -lopengl32 -lglu32
}
INCLUDEPATH += src cs123_lib glm glew-1.10.0/include
DEPENDPATH += src cs123_lib glm glew-1.10.0/include
SOURCES += \
src/mainwindow.cpp \
src/main.cpp \
src/glwidget.cpp \
src/openglshape.cpp \
cs123_lib/resourceloader.cpp \
cs123_lib/errorchecker.cpp \
src/terrain.cpp \
src/gl/datatype/VBO.cpp \
src/gl/datatype/VBOAttribMarker.cpp \
src/gl/datatype/VAO.cpp \
src/gl/datatype/IBO.cpp \
src/gl/GLDebug.cpp \
glew-1.10.0/src/glew.c
HEADERS += \
src/mainwindow.h \
src/glwidget.h \
src/openglshape.h \
cs123_lib/resourceloader.h \
cs123_lib/errorchecker.h \
src/terrain.h \
src/gl/datatype/VBO.h \
src/gl/datatype/VBOAttribMarker.h \
src/gl/datatype/VAO.h \
src/gl/datatype/IBO.h \
src/gl/shaders/ShaderAttribLocations.h \
src/gl/GLDebug.h \
glew-1.10.0/include/GL/glew.h
FORMS += src/mainwindow.ui
OTHER_FILES += \
shaders/shader.frag \
shaders/shader.vert
RESOURCES += \
shaders/shaders.qrc