-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwarpit.pro
64 lines (48 loc) · 1.78 KB
/
warpit.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
#------------------------------------------------------------#
#----Author: Dmitry Anisimov (c) 2016-2017-------------------#
#----With any questions please contact: [email protected]#
#------------------------------------------------------------#
# Options.
QT += core gui opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
# Choose between release and debug.
# CONFIG += qt release
CONFIG += warn_on debug
# QMAKE_CXXFLAGS_RELEASE += -O2 -O3 -DNDEBUG -fno-strict-overflow
QMAKE_CXXFLAGS_DEBUG += -O2 -O3 -Wall -Wextra
TARGET = warpit
TEMPLATE = app
# The global path to the project.
# MAC OS
DEFINES += PROJECT_PATH=\"\\\"$$/Users/your_username/path_to/warpit\\\"\"
# WINDOWS
# DEFINES += PROJECT_PATH=\"\\\"C:\\\Users\\\your_username\\\path_to\\\warpit\\\"\"
# Paths to local includes.
# MAC OS
INCLUDEPATH += /Users/your_username/path_to/warpit/inc
INCLUDEPATH += /Users/your_username/path_to/warpit/inc/support
# WINDOWS
# INCLUDEPATH += C:\Users\your_username\path_to\warpit\inc
# INCLUDEPATH += C:\Users\your_username\path_to\warpit\inc\support
# Sources.
SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/qtviewer.cpp \
src/program.cpp \
src/triangle.cpp
# Headers.
HEADERS += inc/mainwindow.hpp \
inc/qtviewer.hpp \
inc/program.hpp \
inc/support/vector2d.hpp \
inc/support/face.hpp \
inc/support/vertex.hpp \
inc/support/halfedge.hpp \
inc/support/trimesh.hpp \
inc/support/polygon.hpp \
inc/support/texture.hpp \
inc/support/triangle.hpp \
inc/support/triangulator.hpp \
inc/support/utils.hpp
# Forms.
FORMS += ui/mainwindow.ui