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