-
Notifications
You must be signed in to change notification settings - Fork 23
/
QtCreatorProject.pro
64 lines (55 loc) · 1.78 KB
/
QtCreatorProject.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
QT += core gui opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets
CONFIG += c++11
INCLUDEPATH += AppTinyMesh/Include
INCLUDEPATH += $$(GLEW_DIR)
INCLUDEPATH += $$(OUT_PWD)
VPATH += AppTinyMesh
SOURCES += \
AppTinyMesh/Source/box.cpp \
AppTinyMesh/Source/evector.cpp \
AppTinyMesh/Source/implicits.cpp \
AppTinyMesh/Source/main.cpp \
AppTinyMesh/Source/camera.cpp \
AppTinyMesh/Source/mesh.cpp \
AppTinyMesh/Source/meshcolor.cpp \
AppTinyMesh/Source/mesh-widget.cpp \
AppTinyMesh/Source/qtemainwindow.cpp \
AppTinyMesh/Source/ray.cpp \
AppTinyMesh/Source/shader-api.cpp \
AppTinyMesh/Source/triangle.cpp \
HEADERS += \
AppTinyMesh/Include/box.h \
AppTinyMesh/Include/camera.h \
AppTinyMesh/Include/color.h \
AppTinyMesh/Include/implicits.h \
AppTinyMesh/Include/mathematics.h \
AppTinyMesh/Include/mesh.h \
AppTinyMesh/Include/meshcolor.h \
AppTinyMesh/Include/qte.h \
AppTinyMesh/Include/realtime.h \
AppTinyMesh/Include/shader-api.h \
FORMS += \
AppTinyMesh/UI/interface.ui
win32 {
LIBS += -L$$(GLEW_DIR) -lglew32
LIBS += -lopengl32 -lglu32
}
unix:!macx {
LIBS += -lGLEW -lGL -lGLU
}
macx {
LIBS += -lGLEW -lGL -lGLU
}
# Copy shader files
# $$shell_quote puts quote around the path, to make it work if it contains space or other special characters.
copydata.commands = $(COPY_DIR) $$shell_quote($$PWD/AppTinyMesh/Shaders) $$shell_quote($$OUT_PWD/Shaders)
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target