mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
158dac5309
- Use absolute file paths by using $$PWD variable. - Adds unit testing project + unit-test for serialization. - Adds ADS_IMPORT define possibility for static code include. Core - Fixes usage of QBuffer.. missed the QBuffer::open() call..
36 lines
608 B
Prolog
36 lines
608 B
Prolog
TARGET = AdvancedDockingSystem
|
|
#VERSION = 0.1.0
|
|
CONFIG += adsBuildShared
|
|
|
|
QT += core gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
|
|
|
|
TEMPLATE = lib
|
|
|
|
adsBuildShared {
|
|
CONFIG += shared
|
|
DEFINES += ADS_EXPORT
|
|
}
|
|
!adsBuildShared {
|
|
CONFIG += staticlib
|
|
}
|
|
|
|
INCLUDEPATH += $$PWD/src
|
|
INCLUDEPATH += $$PWD/include
|
|
|
|
windows {
|
|
# MinGW
|
|
*-g++* {
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
|
|
}
|
|
# MSVC
|
|
*-msvc* {
|
|
}
|
|
}
|
|
|
|
RESOURCES += \
|
|
res/ads.qrc
|
|
|
|
include(AdvancedDockingSystem.pri) |