This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimonMain.pro
executable file
·86 lines (74 loc) · 2 KB
/
SimonMain.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
TEMPLATE = app
QT += qml quick serialport
CONFIG += c++11
SOURCES += main.cpp \
Keyboard/keyboard.cpp \
Rendering/loadedgl.cpp \
Rendering/fborenderer.cpp \
Rendering/stlimporting.cpp \
Rendering/gcodeimporting.cpp \
Rendering/glhelper.cpp \
Rendering/structures.cpp \
Rendering/comborendering.cpp \
Misc/globalsettings.cpp \
Misc/filebrowser.cpp \
Rendering/stlrendering.cpp \
Rendering/toolpathrendering.cpp \
Rendering/gridrendering.cpp \
Rendering/stlexporting.cpp \
Misc/qtsettings.cpp \
Printer/printer.cpp
RESOURCES += qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
HEADERS += \
Keyboard/keyboard.h \
Rendering/glhelper.h \
Rendering/loadedgl.h \
Rendering/fborenderer.h \
Rendering/mathhelper.h \
Rendering/structures.h \
Misc/strings.h \
Rendering/stlimporting.h \
Rendering/gridgeneration.h \
Rendering/gcodeimporting.h \
Rendering/comborendering.h \
Misc/globalsettings.h \
Misc/filebrowser.h \
Rendering/stlrendering.h \
Rendering/toolpathrendering.h \
Rendering/gridrendering.h \
Rendering/stlexporting.h \
Misc/delegate.h \
Misc/qtsettings.h \
Printer/printer.h
INCLUDEPATH += $$PWD/glm
CONFIG += c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG(SIMON):DEFINES += ROTATE_SCREEN
CONFIG(SIMON):DEFINES += GLES
DEFINES += QT_APPLICATION
SAMPLE_FILES = \
GL/mesh.vsh \
GL/minimal.fsh \
GL/line.vsh \
GL/filament.vsh \
GL/filament.fsh \
# - setup the correct location to install to and load from
android {
# android platform
# From: http://community.kde.org/Necessitas/Assets
SAMPLES_INSTALL_PATH = /assets
DEFINES += GLES
DEFINES += ANDROID
} else {
SIMON {
target.path = $$OUT_PWD
INSTALLS += target
}
SAMPLES_INSTALL_PATH = $$OUT_PWD
}
# - setup the 'make install' step
samples.path = $$SAMPLES_INSTALL_PATH
samples.files += $$SAMPLE_FILES
INSTALLS += samples