2013-09-01 18:36:43 +02:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2013-09-01T15:55:01
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
|
|
TARGET = pythonRunner
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
|
|
CONFIG += dll
|
|
|
|
|
CONFIG += warn_on
|
|
|
|
|
|
|
|
|
|
DEFINES += PYTHONRUNNER_LIBRARY
|
|
|
|
|
|
2013-11-18 20:17:14 +01:00
|
|
|
# suppress a few warnings caused by boost vs vc++ paranoia
|
|
|
|
|
DEFINES += _SCL_SECURE_NO_WARNINGS
|
|
|
|
|
|
2013-09-01 18:36:43 +02:00
|
|
|
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
|
2013-11-06 18:35:27 +01:00
|
|
|
QMAKE_CXXFLAGS += /Zi
|
|
|
|
|
QMAKE_LFLAGS += /DEBUG
|
2013-09-01 18:36:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2014-05-28 14:14:28 +02:00
|
|
|
load(moc)
|
|
|
|
|
include(../common.pri)
|
|
|
|
|
QMAKE_MOC += $$MOCDEFINES
|
|
|
|
|
|
|
|
|
|
|
2013-09-01 18:36:43 +02:00
|
|
|
INCLUDEPATH += "$(BOOSTPATH)" "$$(PYTHONPATH)/include" "$$(PYTHONPATH)/Lib/site-packages/PyQt4/include"
|
|
|
|
|
LIBS += -L"$$(PYTHONPATH)/libs" -L"$(BOOSTPATH)/stage/lib"
|
|
|
|
|
LIBS += -lpython27
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += ../uibase
|
|
|
|
|
LIBS += -luibase
|
2014-01-27 21:31:10 +01:00
|
|
|
|
|
|
|
|
QMAKE_POST_LINK += xcopy /y /I $$quote($$SRCDIR\\$${TARGET}*.pdb) $$quote($$DSTDIR)\\plugins $$escape_expand(\\n)
|