Central build configuration

* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
This commit is contained in:
Roland Winklmeier
2014-03-10 21:19:24 +01:00
parent 811bbdfe4e
commit e978b6dee1
23 changed files with 202 additions and 90 deletions

View File

@@ -1,9 +1,15 @@
include (../../config.pri)
include (../../build.pri)
QT += core
QT -= gui
TARGET = sample_plugin
TEMPLATE = lib
CONFIG += plugin c++11
CONFIG += plugin
CONFIG += blackmisc blackcore
DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
@@ -11,12 +17,9 @@ INCLUDEPATH += . ../../src
SOURCES += *.cpp
HEADERS += *.h
LIBS += -L../../lib -lblackmisc
win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib
else: PRE_TARGETDEPS += ../../lib/libblackmisc.a
DESTDIR = ../../bin
include (../../libraries.pri)