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

68 lines
1.2 KiB
Prolog
Raw Normal View History

ADS_OUT_ROOT = $${OUT_PWD}/..
CONFIG += c++11
TARGET = $$qtLibraryTarget(qtadvanceddocking)
DEFINES += QT_DEPRECATED_WARNINGS
2017-03-13 04:41:50 +08:00
TEMPLATE = lib
DESTDIR = $${ADS_OUT_ROOT}/lib
QT += core gui widgets
2017-03-13 04:41:50 +08:00
!adsBuildStatic {
2017-03-13 04:41:50 +08:00
CONFIG += shared
DEFINES += ADS_SHARED_EXPORT
2017-03-13 04:41:50 +08:00
}
adsBuildStatic {
2017-03-13 04:41:50 +08:00
CONFIG += staticlib
DEFINES += ADS_STATIC
2017-03-13 04:41:50 +08:00
}
windows {
# MinGW
*-g++* {
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
}
# MSVC
*-msvc* {
}
}
RESOURCES += ads.qrc
HEADERS += \
ads_globals.h \
DockAreaWidget.h \
DockAreaTabBar.h \
2017-03-13 04:41:50 +08:00
DockContainerWidget.h \
DockManager.h \
DockWidget.h \
DockWidgetTab.h \
2017-03-13 04:41:50 +08:00
FloatingDockContainer.h \
2017-03-24 17:18:25 +08:00
DockOverlay.h \
DockSplitter.h \
DockAreaTitleBar.h \
ElidingLabel.h
2017-03-13 04:41:50 +08:00
SOURCES += \
ads_globals.cpp \
DockAreaWidget.cpp \
DockAreaTabBar.cpp \
2017-03-13 04:41:50 +08:00
DockContainerWidget.cpp \
DockManager.cpp \
DockWidget.cpp \
DockWidgetTab.cpp \
2017-03-13 04:41:50 +08:00
FloatingDockContainer.cpp \
2017-03-24 17:18:25 +08:00
DockOverlay.cpp \
DockSplitter.cpp \
DockAreaTitleBar.cpp \
ElidingLabel.cpp
isEmpty(PREFIX){
PREFIX=..\installed
warning("Install Prefix not set")
}
headers.path=$$PREFIX/include
headers.files=$$HEADERS
target.path=$$PREFIX/lib
INSTALLS += headers target