Qt-Advanced-Docking-System/AdvancedDockingSystem/AdvancedDockingSystem.pro

36 lines
608 B
Prolog
Raw Normal View History

2015-12-09 19:21:38 +08:00
TARGET = AdvancedDockingSystem
#VERSION = 0.1.0
CONFIG += adsBuildShared
2015-12-09 19:21:38 +08:00
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
2015-12-09 19:21:38 +08:00
TEMPLATE = lib
adsBuildShared {
CONFIG += shared
DEFINES += ADS_EXPORT
}
!adsBuildShared {
CONFIG += staticlib
}
2015-12-09 19:21:38 +08:00
INCLUDEPATH += $$PWD/src
INCLUDEPATH += $$PWD/include
2015-12-09 19:21:38 +08:00
windows {
# MinGW
*-g++* {
QMAKE_CXXFLAGS += -std=c++11
2016-02-12 14:15:10 +08:00
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
}
# MSVC
*-msvc* {
}
}
2015-12-10 00:22:43 +08:00
2015-12-09 19:21:38 +08:00
RESOURCES += \
res/ads.qrc
include(AdvancedDockingSystem.pri)