summaryrefslogtreecommitdiff
path: root/src/3rdparty/clip2tri/clip2tri.pro
blob: 4ae7a7999a67900c4357f1e0ea9cda9a6712b485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TARGET = clip2tri

CONFIG += staticlib exceptions

INCLUDEPATH += ../poly2tri
INCLUDEPATH += ../clipper

load(qt_helper_lib)

# workaround for QTBUG-31586
contains(QT_CONFIG, c++11): CONFIG += c++11

*-g++* {
    QMAKE_CXXFLAGS += -O3 -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wno-error=return-type
}

HEADERS += clip2tri.h
SOURCES += clip2tri.cpp

LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lpoly2tri$$qtPlatformTargetSuffix() -lclipper$$qtPlatformTargetSuffix()