TARGET = AdvancedDockingSystem #VERSION = 0.1.0 CONFIG += adsBuildShared QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TEMPLATE = lib adsBuildShared { CONFIG += shared DEFINES += ADS_EXPORT } !adsBuildShared { CONFIG += staticlib } INCLUDEPATH += $$PWD/src INCLUDEPATH += $$PWD/include greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED windows { # MinGW *-g++* { QMAKE_CXXFLAGS += -std=c++11 QMAKE_CXXFLAGS += -Wall -Wextra -pedantic } # MSVC *-msvc* { } } RESOURCES += \ res/ads.qrc include(AdvancedDockingSystem.pri)