summaryrefslogtreecommitdiffstats
path: root/Plugins/ScriptingPython/ScriptingPython.pro
blob: 02fb5d3ad507a79fd59f2a02d098f5520b049cc3 (plain) (blame)
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
QT       -= gui

include($$PWD/../../SQLiteStudio3/plugins.pri)

TARGET = ScriptingPython
TEMPLATE = lib

DEFINES += SCRIPTINGPYTHON_LIBRARY

QMAKE_CXXFLAGS += -Wno-cast-function-type

SOURCES += scriptingpython.cpp

HEADERS += scriptingpython.h\
        scriptingpython_global.h

OTHER_FILES += \
    scriptingpython.json

linux: {
    LIBS += -lpython3.9
}

macx: {
    LIBS += -lpython3.9
}

win32: {
    INCLUDEPATH += $$PWD/../../../include/python
    LIBS += -lpython39 -L$$PWD/../../../lib/python
}

RESOURCES += \
    scriptingpython.qrc