2015-12-09 19:21:38 +08:00
|
|
|
TARGET = AdvancedDockingSystemDemo
|
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
2015-12-10 00:22:43 +08:00
|
|
|
INCLUDEPATH += $$PWD/src
|
|
|
|
|
2016-02-15 20:56:42 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
|
|
|
|
|
2016-02-03 15:01:26 +08:00
|
|
|
windows {
|
|
|
|
# MinGW
|
|
|
|
*-g++* {
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
}
|
|
|
|
# MSVC
|
|
|
|
*-msvc* {
|
|
|
|
}
|
|
|
|
}
|
2015-12-10 00:22:43 +08:00
|
|
|
|
2015-12-09 19:21:38 +08:00
|
|
|
SOURCES += \
|
|
|
|
src/main.cpp \
|
|
|
|
src/mainwindow.cpp \
|
|
|
|
src/icontitlewidget.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/mainwindow.h \
|
|
|
|
src/icontitlewidget.h
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
src/mainwindow.ui
|
|
|
|
|
|
|
|
|
2016-02-24 04:31:09 +08:00
|
|
|
# Dependency: AdvancedDockingSystem (staticlib)
|
|
|
|
#win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/release/ -lAdvancedDockingSystem
|
|
|
|
#else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/debug/ -lAdvancedDockingSystem
|
|
|
|
#else:unix: LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/ -lAdvancedDockingSystem
|
|
|
|
|
|
|
|
#INCLUDEPATH += $$PWD/../AdvancedDockingSystem/include
|
|
|
|
#DEPENDPATH += $$PWD/../AdvancedDockingSystem/include
|
2016-02-25 00:39:35 +08:00
|
|
|
|
|
|
|
#win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/release/libAdvancedDockingSystem.a
|
|
|
|
#else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/debug/libAdvancedDockingSystem.a
|
|
|
|
#else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/release/AdvancedDockingSystem.lib
|
|
|
|
#else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/debug/AdvancedDockingSystem.lib
|
|
|
|
#else:unix: PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/libAdvancedDockingSystem.a
|
|
|
|
|
|
|
|
# Dependency: AdvancedDockingSystem (shared)
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/release/ -lAdvancedDockingSystem
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/debug/ -lAdvancedDockingSystem
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/ -lAdvancedDockingSystem
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../AdvancedDockingSystem/include
|
|
|
|
DEPENDPATH += $$PWD/../AdvancedDockingSystem/include
|