-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeshEditor.pro
52 lines (43 loc) · 1.34 KB
/
meshEditor.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
QT += core widgets
TARGET = 277
TEMPLATE = app
CONFIG += console
CONFIG += c++1z
win32 {
LIBS += -lopengl32
LIBS += -lglut32
LIBS += -lglu32
}
CONFIG += warn_on
CONFIG += debug
INCLUDEPATH += include
include(src/src.pri)
FORMS += forms/mainwindow.ui \
forms/cameracontrolshelp.ui
RESOURCES += glsl.qrc
*-clang*|*-g++* {
message("Enabling additional warnings")
CONFIG -= warn_on
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic -Winit-self
QMAKE_CXXFLAGS += -Wno-strict-aliasing
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
}
linux-clang*|linux-g++*|macx-clang*|macx-g++* {
message("Enabling stack protector")
QMAKE_CXXFLAGS += -fstack-protector-all
}
# FOR LINUX & MAC USERS INTERESTED IN ADDITIONAL BUILD TOOLS
# ----------------------------------------------------------
# This conditional exists to enable Address Sanitizer (ASAN) during
# the automated build. ASAN is a compiled-in tool which checks for
# memory errors (like Valgrind). You may enable it for yourself;
# check the hidden `.build.sh` file for info. But be aware: ASAN may
# trigger a lot of false-positive leak warnings for the Qt libraries.
# (See `.run.sh` for how to disable leak checking.)
address_sanitizer {
message("Enabling Address Sanitizer")
QMAKE_CXXFLAGS += -fsanitize=address
QMAKE_LFLAGS += -fsanitize=address
}
HEADERS +=
SOURCES +=