QT       += core gui xml widgets

TARGET = cove
TEMPLATE = lib
CONFIG += staticlib

INCLUDEPATH += ../../src

HEADERS += \
    app/classificationconfigform.h \
    app/colorseditform.h \
    app/FIRFilter.h \
    app/mainform.h \
    app/ImageView.h \
    app/PolygonsView.h \
    app/Settings.h \
    app/UIProgressDialog.h \
    app/vectorizationconfigform.h \
    libvectorizer/AlphaGetter.h \
    libvectorizer/ClassificationThread.h \
    libvectorizer/KohonenMap.h \
    libvectorizer/MapColor.h \
    libvectorizer/Morphology.h \
    libvectorizer/PatternGetter.h \
    libvectorizer/Polygons.h \
    libvectorizer/Vectorizer.h \
    potrace/auxiliary.h \
    potrace/config.h \
    potrace/curve.h \
    potrace/lists.h \
    potrace/potracelib.h \
    potrace/progress.h \
    potrace/trace.h \
    app/coverunner.h

SOURCES += \
    app/classificationconfigform.cpp \
    app/colorseditform.cpp \
    app/FIRFilter.cpp \
    app/mainform.cpp \
    app/ImageView.cpp \
    app/PolygonsView.cpp \
    app/Settings.cpp \
    app/UIProgressDialog.cpp \
    app/vectorizationconfigform.cpp \
    libvectorizer/AlphaGetter.cpp \
    libvectorizer/ClassificationThread.cpp \
    libvectorizer/KohonenMap.cpp \
    libvectorizer/MapColor.cpp \
    libvectorizer/Morphology.cpp \
    libvectorizer/PatternGetter.cpp \
    libvectorizer/Polygons.cpp \
    libvectorizer/Vectorizer.cpp \
    potrace/curve.c \
    potrace/potracelib.c \
    potrace/trace.c \
    app/coverunner.cpp

FORMS += \
    app/classificationconfigform.ui \
    app/colorseditform.ui \
    app/mainform.ui \
    app/vectorizationconfigform.ui

COVE_PRI = \
  "$$LITERAL_HASH Generated by $$_PRO_FILE_" \
  "DEPENDPATH  += $$PWD" \
  "INCLUDEPATH += $$PWD" \
  "LIBS        += \"-L$$OUT_PWD\""

write_file($$OUT_PWD/cove.pri, COVE_PRI)
