forked from mkazhdan/PoissonRecon
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPoissonRecon.pro
executable file
·36 lines (27 loc) · 1.19 KB
/
PoissonRecon.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
QT -= core gui
INCLUDEPATH -= .
### begin mac specific part #################
# On OSX xcode clang does NOT support OpenMP.
# Use these two lines if you installed an alternative clang with macport
# (something like 'sudo port install clang-3.9')
# Note that on osx qtcreator could have just a vanilla path environment,
# so, if using the below option fails to find the port-installed compiler you should
# add the port bin folder to the qtcreator environment path
# (adding something like PATH="/opt/local/bin:/opt/local/sbin:$PATH" )
macx:QMAKE_CXX = clang++-mp-3.9
macx:QMAKE_LFLAGS += -L/opt/local/lib/libomp -lomp
# Use this if you want to use the standard clang distributed with xcode
# macx:QMAKE_CXXFLAGS-= -fopenmp
# Mac specific Config required to avoid to make application bundles
CONFIG -= app_bundle
### end of mac specific part #################
QMAKE_CXXFLAGS+=-fopenmp -Wsign-compare -O3 -DRELEASE -funroll-loops -ffast-math
CONFIG += console warn_off
TEMPLATE = app
SOURCES += Src/PoissonRecon.cpp \
Src/MarchingCubes.cpp \
Src/PlyFile.cpp \
Src/CmdLineParser.cpp \
Src/Factor.cpp \
Src/Geometry.cpp
TARGET=PoissonRecon