-
Notifications
You must be signed in to change notification settings - Fork 4
/
polyview.pro
42 lines (36 loc) · 1.18 KB
/
polyview.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
# Build
TEMPLATE = app
TARGET = polyview
QT += widgets
#QT += core
QT += gui
RESOURCES = polyview.qrc
INCLUDEPATH += geom
INCLUDEPATH += gui
#TODO: See if compiling statically can reduce executable size
#win32 {
# CONFIG += static
#}
polyview_use_openmp {
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
QMAKE_CXXFLAGS += -DPOLYVIEW_USE_OPENMP
}
SOURCES = gui/mainProg.cpp gui/polyView.cpp gui/appWindow.cpp gui/chooseFilesDlg.cpp gui/utils.cpp gui/documentation.cpp geom/dPoly.cpp geom/cutPoly.cpp geom/geomUtils.cpp geom/polyUtils.cpp geom/edgeUtils.cpp geom/dTree.cpp geom/kdTree.cpp
HEADERS = gui/polyView.h gui/appWindow.h gui/chooseFilesDlg.h gui/utils.h geom/dPoly.h geom/cutPoly.h geom/geomUtils.h geom/polyUtils.h geom/edgeUtils.h geom/dTree.h geom/kdTree.h geom/baseUtils.h
# Install the executable
polyview.path = $$(INSTALL_DIR)/bin # install directory
win32 {
polyview.files = polyview
}
unix {
polyview.files = polyview
}
macx {
polyview.files = polyview.app/Contents/MacOS/polyview
}
INSTALLS += polyview
# Install Readme.md
#readme.path = $$(INSTALL_DIR) # install directory
#readme.files = Readme.md
#INSTALLS += readme