2017-03-29 18:18:49 +08:00
|
|
|
ADS_ROOT = $${PWD}/..
|
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/..
|
2017-03-13 04:41:50 +08:00
|
|
|
|
|
|
|
TARGET = $$qtLibraryTarget(AdvancedDockingSystem)
|
|
|
|
TEMPLATE = lib
|
2017-03-29 18:18:49 +08:00
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
|
|
QT += core gui widgets
|
2017-03-13 04:41:50 +08:00
|
|
|
|
|
|
|
CONFIG += adsBuildShared
|
|
|
|
|
|
|
|
|
|
|
|
adsBuildShared {
|
|
|
|
CONFIG += shared
|
2018-07-17 21:11:49 +08:00
|
|
|
DEFINES += ADS_SHARED_EXPORT
|
2017-03-13 04:41:50 +08:00
|
|
|
}
|
|
|
|
!adsBuildShared {
|
|
|
|
CONFIG += staticlib
|
|
|
|
}
|
|
|
|
|
|
|
|
windows {
|
|
|
|
# MinGW
|
|
|
|
*-g++* {
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
|
|
|
|
}
|
|
|
|
# MSVC
|
|
|
|
*-msvc* {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RESOURCES += ads.qrc
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
ads_globals.h \
|
|
|
|
DockAreaWidget.h \
|
|
|
|
DockContainerWidget.h \
|
|
|
|
DockManager.h \
|
|
|
|
DockWidget.h \
|
|
|
|
DockWidgetTitleBar.h \
|
|
|
|
FloatingDockContainer.h \
|
2017-03-24 17:18:25 +08:00
|
|
|
DockOverlay.h \
|
|
|
|
DockSplitter.h
|
2017-03-13 04:41:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
ads_globals.cpp \
|
|
|
|
DockAreaWidget.cpp \
|
|
|
|
DockContainerWidget.cpp \
|
|
|
|
DockManager.cpp \
|
|
|
|
DockWidget.cpp \
|
|
|
|
DockWidgetTitleBar.cpp \
|
|
|
|
FloatingDockContainer.cpp \
|
2017-03-24 17:18:25 +08:00
|
|
|
DockOverlay.cpp \
|
|
|
|
DockSplitter.cpp
|