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
|
isEmpty(PSISDK) {
include(../../psiplugin.pri)
} else {
include($$PSISDK/plugins/psiplugin.pri)
}
win32-msvc* {
# consider compiling https://github.com/Ri0n/libotr/tree/master/vs2015
LIBS += -lotr -ltidy
} else {
LIBS += -lotr -ltidy -lgcrypt -lgpg-error
}
!win32:!exists(/usr/include/tidybuffio.h):!exists(/usr/include/tidy/tidybuffio.h) {
DEFINES += LEGACY_TIDY
}
RESOURCES = otrplugin.qrc
unix {
INCLUDEPATH += /usr/include/tidy
}
greaterThan(QT_MAJOR_VERSION, 4) {
QT += concurrent
}
HEADERS += src/psiotrplugin.h
HEADERS += src/otrmessaging.h
HEADERS += src/otrinternal.h
HEADERS += src/psiotrconfig.h
HEADERS += src/psiotrclosure.h
HEADERS += src/htmltidy.h
HEADERS += src/otrlextensions.h
SOURCES += src/psiotrplugin.cpp
SOURCES += src/otrmessaging.cpp
SOURCES += src/otrinternal.cpp
SOURCES += src/psiotrconfig.cpp
SOURCES += src/psiotrclosure.cpp
SOURCES += src/htmltidy.cpp
SOURCES += src/otrlextensions.c
|