2017-01-17 14:57:24 +08:00
|
|
|
include($$(cetoni_repository)/build/qt/qtprojectsettings/shared_library.pri)
|
2017-02-25 05:44:02 +08:00
|
|
|
include(src/v2/v2.pri)
|
2017-01-17 14:57:24 +08:00
|
|
|
|
|
|
|
TARGET = $$qtLibraryTarget(AdvancedDockingSystem)
|
2016-10-23 16:35:09 +08:00
|
|
|
TEMPLATE = lib
|
2017-01-17 14:57:24 +08:00
|
|
|
#VERSION = 1.0.0
|
2016-10-23 16:35:09 +08:00
|
|
|
|
2016-02-24 19:12:09 +08:00
|
|
|
CONFIG += adsBuildShared
|
2015-12-09 19:21:38 +08:00
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2016-04-01 17:49:16 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
|
2015-12-09 19:21:38 +08:00
|
|
|
|
2016-02-24 04:31:09 +08:00
|
|
|
adsBuildShared {
|
2016-03-31 20:47:19 +08:00
|
|
|
CONFIG += shared
|
|
|
|
DEFINES += ADS_EXPORT
|
2016-02-24 04:31:09 +08:00
|
|
|
}
|
|
|
|
!adsBuildShared {
|
2016-03-31 20:47:19 +08:00
|
|
|
CONFIG += staticlib
|
2016-02-24 04:31:09 +08:00
|
|
|
}
|
2016-02-18 22:06:00 +08:00
|
|
|
|
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* {
|
|
|
|
}
|
|
|
|
}
|
2015-12-10 00:22:43 +08:00
|
|
|
|
2015-12-09 19:21:38 +08:00
|
|
|
RESOURCES += \
|
|
|
|
res/ads.qrc
|
2016-04-01 15:58:26 +08:00
|
|
|
|
2017-02-24 05:26:13 +08:00
|
|
|
SOURCES += \
|
|
|
|
$$PWD/src/API.cpp \
|
|
|
|
$$PWD/src/MainContainerWidget.cpp \
|
|
|
|
$$PWD/src/SectionWidget.cpp \
|
|
|
|
$$PWD/src/SectionContent.cpp \
|
|
|
|
$$PWD/src/SectionTitleWidget.cpp \
|
|
|
|
$$PWD/src/SectionContentWidget.cpp \
|
|
|
|
$$PWD/src/DropOverlay.cpp \
|
|
|
|
$$PWD/src/FloatingWidget.cpp \
|
|
|
|
$$PWD/src/Internal.cpp \
|
|
|
|
$$PWD/src/Serialization.cpp \
|
|
|
|
$$PWD/src/ContainerWidget.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
$$PWD/src/API.h \
|
|
|
|
$$PWD/src/MainContainerWidget.h \
|
|
|
|
$$PWD/src/SectionWidget.h \
|
|
|
|
$$PWD/src/SectionContent.h \
|
|
|
|
$$PWD/src/SectionTitleWidget.h \
|
|
|
|
$$PWD/src/SectionContentWidget.h \
|
|
|
|
$$PWD/src/DropOverlay.h \
|
|
|
|
$$PWD/src/FloatingWidget.h \
|
|
|
|
$$PWD/src/Internal.h \
|
|
|
|
$$PWD/src/Serialization.h \
|
|
|
|
$$PWD/src/ContainerWidget.h
|