mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
50 lines
1.1 KiB
Prolog
50 lines
1.1 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2013-09-01T15:55:01
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
TARGET = pythonRunner
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += dll
|
|
CONFIG += warn_on
|
|
|
|
DEFINES += PYTHONRUNNER_LIBRARY
|
|
|
|
# suppress a few warnings caused by boost vs vc++ paranoia
|
|
DEFINES += _SCL_SECURE_NO_WARNINGS
|
|
|
|
SOURCES += pythonrunner.cpp \
|
|
gilock.cpp \
|
|
error.cpp \
|
|
pythonpluginwrapper.cpp \
|
|
proxypluginwrappers.cpp
|
|
|
|
HEADERS += pythonrunner.h \
|
|
gilock.h \
|
|
error.h \
|
|
uibasewrappers.h \
|
|
pythonpluginwrapper.h \
|
|
proxypluginwrappers.h
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
LIBS += -L$$OUT_PWD/../uibase/debug
|
|
} else {
|
|
LIBS += -L$$OUT_PWD/../uibase/release
|
|
QMAKE_CXXFLAGS += /Zi
|
|
QMAKE_LFLAGS += /DEBUG
|
|
}
|
|
|
|
|
|
INCLUDEPATH += "$(BOOSTPATH)" "$$(PYTHONPATH)/include" "$$(PYTHONPATH)/Lib/site-packages/PyQt4/include"
|
|
LIBS += -L"$$(PYTHONPATH)/libs" -L"$(BOOSTPATH)/stage/lib"
|
|
LIBS += -lpython27
|
|
|
|
INCLUDEPATH += ../uibase
|
|
LIBS += -luibase
|
|
|
|
QMAKE_POST_LINK += xcopy /y /I $$quote($$SRCDIR\\$${TARGET}*.pdb) $$quote($$DSTDIR)\\plugins $$escape_expand(\\n)
|