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,19 +1,21 @@
include (../../config.pri)
include (../../build.pri)
QT += core
QT -= gui
TARGET = sample_pluginmgr
TEMPLATE = app
CONFIG += console c++11
CONFIG += console
CONFIG -= app_bundle
CONFIG += blackmisc blackcore
DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += *.cpp
LIBS += -L../../lib -lblackcore -lblackmisc
win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib \
../../lib/blackcore.lib
else: PRE_TARGETDEPS += ../../lib/libblackmisc.a \
@@ -21,5 +23,4 @@ else: PRE_TARGETDEPS += ../../lib/libblackmisc.a \
DESTDIR = ../../bin
include (../../libraries.pri)