-
-
Notifications
You must be signed in to change notification settings - Fork 557
/
Copy pathgrbl_control.pro
118 lines (100 loc) · 2.6 KB
/
grbl_control.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
#-------------------------------------------------
#
# Project created by QtCreator 2014-05-23T17:51:21
#
#-------------------------------------------------
QT = core gui opengl serialport
win32: {
QT += winextras
DEFINES += WINDOWS
LIBS += -L"C:\\WinDDK\\7600.16385.1\\lib\\win7\\i386" -L"C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.1A\\Lib" -lopengl32
LIBS += -L"C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib" -lopengl32
}
unix: {
DEFINES += UNIX #GL_GLEXT_PROTOTYPES
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/libs\'"
}
contains(QT_CONFIG, opengles.) {
warning("GL ES detected. VAO will be disabled.")
DEFINES += GLES
INSTALLS += target
target.path = /home/pi
# QMAKE_CXXFLAGS += -mno-unaligned-access
# QMAKE_LFLAGS += -mno-unaligned-access
}
#DEFINES += sNan=\"NAN\"
DEFINES += sNan=\"65536\"
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
VERSION = 0.8
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
TARGET = grbl_control
TEMPLATE = app
SOURCES += main.cpp\
frmmain.cpp \
glwidget.cpp \
pointsegment.cpp \
gcodepreprocessorutils.cpp \
gcodeparser.cpp \
arcproperties.cpp \
linesegment.cpp \
gcodeviewparse.cpp \
gcodedrawer.cpp \
tooldrawer.cpp \
tablewidget.cpp \
gcodetablemodel.cpp \
frmsettings.cpp \
styledtoolbutton.cpp \
frmabout.cpp \
combobox.cpp \
heightmapborderdrawer.cpp \
heightmapgriddrawer.cpp \
heightmaptablemodel.cpp \
heightmapinterpolationdrawer.cpp \
scrollarea.cpp \
widget.cpp \
groupbox.cpp \
shaderdrawable.cpp \
origindrawer.cpp \
colorpicker.cpp
HEADERS += frmmain.h \
glwidget.h \
pointsegment.h \
gcodepreprocessorutils.h \
gcodeparser.h \
arcproperties.h \
linesegment.h \
gcodeviewparse.h \
gcodedrawer.h \
tooldrawer.h \
tablewidget.h \
gcodetablemodel.h \
frmsettings.h \
styledtoolbutton.h \
frmabout.h \
combobox.h \
heightmapborderdrawer.h \
heightmapgriddrawer.h \
heightmaptablemodel.h \
heightmapinterpolationdrawer.h \
util.h \
interpolation.h \
scrollarea.h \
widget.h \
groupbox.h \
shaderdrawable.h \
origindrawer.h \
colorpicker.h
FORMS += frmmain.ui \
frmsettings.ui \
frmabout.ui
DEFINES += _USE_MATH_DEFINES
RESOURCES += \
shaders.qrc \
images.qrc
CONFIG += c++11
RC_ICONS += images/grblControl2.ico
TRANSLATIONS += translations/grblControl_ru.ts translations/grblControl_es.ts translations/grblControl_fr.ts
win32: {
QMAKE_CXXFLAGS_DEBUG += -g3 -pg
QMAKE_LFLAGS_DEBUG += -pg -lgmon
}