2015-12-09 19:21:38 +08:00
|
|
|
TARGET = AdvancedDockingSystem
|
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/src
|
2016-02-02 22:01:48 +08:00
|
|
|
INCLUDEPATH += $$PWD/include
|
2015-12-09 19:21:38 +08:00
|
|
|
|
2016-02-03 15:01:26 +08:00
|
|
|
windows {
|
|
|
|
# MinGW
|
|
|
|
*-g++* {
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
2016-02-12 14:15:10 +08:00
|
|
|
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
|
2016-02-03 15:01:26 +08:00
|
|
|
}
|
|
|
|
# MSVC
|
|
|
|
*-msvc* {
|
2016-02-12 15:00:31 +08:00
|
|
|
#QMAKE_CXXFLAGS += /Za
|
2016-02-12 18:07:45 +08:00
|
|
|
#QMAKE_CXXFLAGS += /FS
|
2016-02-03 15:01:26 +08:00
|
|
|
}
|
|
|
|
}
|
2015-12-10 00:22:43 +08:00
|
|
|
|
2015-12-09 19:21:38 +08:00
|
|
|
SOURCES += \
|
2016-02-02 22:01:48 +08:00
|
|
|
src/API.cpp \
|
2016-02-12 14:15:10 +08:00
|
|
|
src/ContainerWidget.cpp \
|
|
|
|
src/SectionWidget.cpp \
|
|
|
|
src/SectionContent.cpp \
|
2016-02-02 22:01:48 +08:00
|
|
|
src/SectionTitleWidget.cpp \
|
|
|
|
src/SectionContentWidget.cpp \
|
|
|
|
src/DropOverlay.cpp \
|
2016-02-12 15:00:31 +08:00
|
|
|
src/FloatingWidget.cpp \
|
|
|
|
src/Internal.cpp
|
2015-12-09 19:21:38 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2016-02-02 22:01:48 +08:00
|
|
|
include/ads/API.h \
|
|
|
|
include/ads/ContainerWidget.h \
|
|
|
|
include/ads/SectionWidget.h \
|
|
|
|
include/ads/SectionContent.h \
|
|
|
|
include/ads/SectionTitleWidget.h \
|
|
|
|
include/ads/SectionContentWidget.h \
|
|
|
|
include/ads/DropOverlay.h \
|
2016-02-12 15:00:31 +08:00
|
|
|
include/ads/FloatingWidget.h \
|
|
|
|
include/ads/Internal.h
|
2015-12-09 19:21:38 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
res/ads.qrc
|